I found a world-class free debugger for IE. Visual studio is known for the best debugger out there which can directly attach to any process running on windows, but that doesn't come for free. Microsoft started giving out express editions for free, which has a debugger but that cannot attach to already running processes. Follow the steps below to make express editions help debugging our web-pages on IE.
- Install Visual Web Developer Express which is free and can be downloaded from
http://msdn.microsoft.com/en-us/express/aa975050.aspx - Enable script debug on IE - go to Tools > Internet Options > Advanced, and make sure "Disable Script Debugging (Internet Explorer)" is unchecked and "Display a notification about every script error" is checked.
- Start a dummy project with some name.
- Start IE in debug mode with the created dummy project - Debug->start debugging.
- The above will start IE with debug enabled and you can open your web-page and enjoy free ultimate debugger.