How do you debug Javascript in IE6?

js_error
asked by Jake, a Web Developer from New York

The lack of proper error reporting in IE is daunting for new developers, but there are some add-ons that can help manage javascript errors for IE6.

ms script debugger

Microsoft makes a ‘Microsoft Script Debugger‘ but its about as useless as IE6 itself.
An installation guide is available here.

ms script editor

A better alternative is the ‘Microsoft Script Editor’.
An installation guide is available here.

firebugxb

Another Interesting approach is ‘Firebug Lite‘ which mimics the Firebug firefox extension.

From the developers - http://www.getfirebug.com/lite.html
First, download firebuglite.zip and unzip it into any directory on your web server. Then insert this line of code into any page that you want to contain Firebug:

<script language=”javascript” type=”text/javascript” src=”firebug.js”></script>

Firebug Lite won’t intrude on your page until you open it yourself. Just hit the trusty F12 key to open the console - it will appear at the bottom of the page just like the real Firebug.