Thursday, December 26, 2019

Visual Studio: Open Up a New Browser Tab Instead of New Window

The default behavior of Visual Studio when debugging a web application is it opens up a new window of the browser instead of firing up a new tab. But this can be a real pain when you have multiple projects running, you will have many browser instances and it's really hard to navigate in between (well, at least for me).

This is a quick post on how you can get rid of that behavior. Actually, it's pretty easy, I had this configured sometime back, but it took a while for me to figure it out again.

Go to Tools -> Options -> Projects and Solutions -> Web Projects. And there you have this checkbox: Stop debugger when browser window is closed, close browser when debugging stops. You just uncheck it and that's it.
Stop debugger when browser window is closed, close browser when debugging stops
Hope this helps.

Happy Coding.

Regards,
Jaliya

No comments:

Post a Comment