CRM 2011- how to debug Javascript with IE8

I was trying to debug some javascript today and found the best way to do this was to use Internet Explorers debugging options.

you can bring up the debugger in internet explorer if you have at least version 8.  You simply press the F12 button.   Then go to the Script tab and next to the Start Debugging button you will see the scripts, your script will probably be well down in the list.

Also you should set internet explorer options to untick the disable script debugging.

These blog tells you how to set it up

The error checking was very useful because it told you if there were syntax errors and you can see what line an error occured.

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.