Are there any tricks or tools for debugging those jScripts that you write in the web resources and attach to an event on a form ?
I have to customize a Dynamics CRM 2011 instance, which includes writing some jScripts.
The best I found until now is to click “I want to see the error that’s being sent to Microsoft”. Better than nothing, but I guess there must be something better ?
Thanks!
Are there any tricks or tools for debugging those jScripts that you write in
Share
If you use a decent version of IE (I hope you do), you could use the developer tools (F12).
They also contain a JavaScript console/debugger which got really usable in the meantime.
You have to select the file which should be inspected, set a breakpoint and start debugging.
See this article for an example: http://www.furnemont.eu/2010/06/how-to-series-easily-debug-your-crm-javascript-code-in-ie8