Aaron Brethorst

Round peg in a square hole, rabid generalist.

Web Development Tools Every Windows Developer Must Have

| Comments

No respectable Windows developer would try debugging their application with printf()’s or Console.WriteLine()’s, so why would you try doing the same thing with Javascript? Yeesh. I’ve been hacking a fair amount of Javascript and Ajaxy things lately, and I’ve put together a respectably little toolkit with which I can work it over. If you’re doing any web development on Windows, you should add all of these tools to your repository immediately!

First off, the IE Developer Toolbar is super-handy for DOM inspection. You can download it from the Microsoft Download Center.

Next, Fiddler is a cool tool for doing inspection and manipulation at the HTTP transmission level. It even provides debugging capabilities.

And, for the coup de grace, did you know that you can debug friggin Javascript code in Visual Studio 2005? The steps are pretty straightforward: 1. Open your website in VS 2005. 2. Hit F5. 3. Go to the Attach to Process window (Tools.Attach to Process). 4. Make sure that ‘Attach to’ is set to Automatic or Script. 5. Scroll through the list of Available Processes and select the iexplore.exe window with the name of the page you’re attempting to debug. 6. Hit the Attach button.

I’ve verified that this even works on Windows Vista RTM with IE 7 and VS 2005 RTM. Awesome stuff, and it makes life so much easier.