Skip to main content


Showing posts from March, 2012

How to debug Javascript in IE7

Most developers know Firebug which is a nice debugging tool for Firefox. When it comes to IEs, Microsoft has a better debugging tool for it. It is called Visual Web Developer Express. Many people think it is only for .NET development. I will show you how to do Javascript debugging using Visual Web Developer Express. Install Visual Web Developer Express. It is free. Update some IE settings. Tools->Internet Options->Advanced. Uncheck "Disable script debugging". Check "Display a notification about every script error". Fire up Visual Web Developer Express and create a New Web Site. Run the new web site in debugging mode. (F5) At this point, IE is launched with the new web site in it. Type in the web page you want to debug into address bar. Switch back to Visual Web Developer Express and you should see all the Javascript files of the page are loaded under Solution