Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the default browser to debug with in Visual Studio 2008?

When you hit F5, the browser windows pops up, how do you set which browser the debugger users in Visual Studio 2008?

Update 1
I have looked for the 'Browse with' option and not found it.
Visual Studio opens the default browser instead of Internet Explorer

Update 2
If you are already debugging you dont have the 'Browse with' option.

  • Stop debugging and then its there!

Update 3
The accepted answer below is also relevant to changing the default browser to debug with in Visual Studio 2010.

like image 460
Paul Rowland Avatar asked Nov 17 '08 23:11

Paul Rowland


People also ask

How do I change the Debug browser code in Visual Studio?

Alternatively, you can also use the Visual Studio Code command palette and run the “Debug: Open Link” command. From there on you can choose to debug in Chrome, Edge or Node.


2 Answers

  • (In the Project Solution window) Right click a page (.aspx, or on a folder)
  • Select Browse With...
  • Choose your browser
  • Click Set as Default
  • Click Browse

context menu screenshot

like image 175
bdukes Avatar answered Sep 21 '22 11:09

bdukes


ASP.NET projects:

  • Right click a webpage (.aspx, or on a folder)
  • Select Browse With...
  • Choose your browser
  • Click Set as Default
  • Click Browse

ASP.NET MVC 1 projects:

Right click Default.aspx, then follow steps above.

ASP.NET MVC 2 projects:

As there is no Default.aspx, you need to create a Web Form (right-click project > Add > New Item) and follow the steps above.

like image 42
Dunc Avatar answered Sep 22 '22 11:09

Dunc