Showing posts with label Debug. Show all posts
Showing posts with label Debug. Show all posts

Thursday, October 9, 2008

Debugging in Visual Studio in Firefox

I just found out how to make the Visual Studio to debug in Firefox:
1. Right-click on the file in the Solution Explorer
2. Select "Browse with"
3. In the dialog box select Firefox. If Firefox is not there, click Add and browse to the firefox.exe on your computer.
4. Click "Set as Default"

The next time you run the project it will be in Firefox. It's quite easy to switch between IE and Firefox. One thing I noticed is that while using Firefox, closing the browser window won't stop the debug mode, you have to use Shift + F5, or some toolbar/menu item that I can't find, to stop debugging.