Reputation: 1600
I want to change my default browser when debugging a MVC 4 application but it always starts the IE. When I copy/paste the URL to the other browser(Firefox) it works but it doesn't hit the breakpoints. I tried by adding a 'Default.htm' page in the Views folder and tried to change the 'Browse with..' option but it was not there at all(the browse with option). Do you know How can I achieve it ?
EDIT
I am using visual studio 2010
Solution for me:
The way I did it was to change the default browser in the "Program defaults" and then it started to hit the breakpoints after debug with copy/paste of the url from the IE.
Upvotes: 1
Views: 3515
Reputation: 14399
Right click the web page you want to open, choose "Browse with...", select your desired browser, click "Set as default".
Upvotes: 0
Reputation: 11
Its in the Run button dropdown. all installed browsers list will be there set ur default browser. By default it will be Internet Explorer.
Upvotes: 1
Reputation: 3787
In VS, in top bar, click right menu, select Standart
toolbar options and add Debug Target
there
Upvotes: 0