Home » debug | Javascript | MS CRM

MSCRM - How to debug onload javascript (or in fact any javascript)

27. August 2008 by Dave Hawes 0 Comments

This is a very short but I believe very useful post. How do you step into javascript code that you have written for the onload / onsave event.

Make sure that your IE advanced options has 'Disable Script Debugging' unchecked.

Just put the line


instead of 

alert('hit this line of code');

Where you want your breakpoint. When that line of javascript is hit you will be asked if what instance of Visual Studio you want to use to debug the javascript with.

That's it!

Comments are closed