When debugging web applications in Visual Studio the default browser is used. With Internet Explorer as the default browser when you close the browser the application stops running or if you stop the application the browser window closes. If you use Firefox, Chrome, or any of the other popular browsers there isn’t this level of tight integration. To keep one of these browsers as you default but use Internet Explorer for debugging is very easy.
- Right click on a .aspx page in your solution explorer.
- Select the “browse with” menu option.
- Select or add a browser.
- Click the “Set as Default” button to make this the default browser for debugging.