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

  1. Sonny Gill says:

    You may also want to check out the Internet Explorer Developer Toolbar, if you haven’t already.
    Life is indeed so much easier with Firefox 🙂

  2. viktor says:

    In many cases it just doesn’t work.

Comments are closed.