I use the timebombed Internet Explorer Virtual PC images from Microsoft to test the Cozi web client under IE6 on Vista. The VPC images come preloaded with the horrible, ancient Script Debugger, which hasn't received any developer love since periwigs were in fashion. Not recommended unless you can't find anything better.
Here, then, are the necessary steps in VWD 2008.
Install Visual Web Developer 2008. You can turn off all the optional extras. If you're doing this inside Virtual PC, use CD > Capture ISO Image....
In Internet Explorer (6 or 7):
Tools > Internet Options > Advanced:
Clear Disable Script Debugging (Internet Explorer)
In Visual Web Developer:
Create an empty website project, which defaults to
- File > New Web Site > ASP.NET Web Site
Modify Website > Start Options and set the URL to a good starting point in your application:
- File > Save C:\...\WebSite1 to save the website project
Use Debug > Start Debugging (or hit F5) to launch Internet Explorer. Set breakpoints in your code by clicking in the left margin of some source code.
At one point (and I forget the details), I had to uninstall the old Script Debugger, then Repair VWD in Add or Remove Programs.
On Vista, I think it's probably necessary to use Run as Administrator when starting VWD.