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.
- Open your website in VS 2005.
- Hit F5.
- Go to the Attach to Process window (Tools.Attach to Process).
- Make sure that ‘Attach to’ is set to Automatic or Script.
- Scroll through the list of Available Processes and select the iexplore.exe window with the name of the page you’re attempting to debug.
- 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.