Javascript debugging in Internet Explorer

It always drives me nuts when I get a Javascript error in Internet Explorer that I can’t reproduce in Firefox because I’m used to debugging Javascript in Firefox with Firebug. I finally had to buckle down and figure out how to debug Javascript in IE and fortunately the IE Blog has a nice post on how to do this. The solution I used:

1. Install the free Microsoft Script Debugger
2. In Internet Explorer:

Tools->Internet Options…->Advanced->Disable Script Debugging (Internet Explorer)
Tools->Internet Options…->Advanced->Disable Script Debugging (Other)

3. Hit a page with a Javascript error and it asks you Do you wish to Debug? and click Yes

It’ll bring up the debugger with a nice yellow line on the Javascript causing the error.

This entry was posted in Javascript, Software Engineering, Web. Bookmark the permalink.

2 Responses to Javascript debugging in Internet Explorer