Reputation: 93
Since installing Visual Studio update v15.7.2, clicking "Start Debugging" in a .Net project now opens a new browser window instead of adding a tab to my existing browser window, as it had done previously. How do I get this to stop and go back to adding a new tab to my existing browser window?
In my scenario; I have an existing browser window open (Google Chrome, my preferred development browser) and I click Debug > Start Debugging. Result: It opens a new Chrome window. Preferred Result: It adds a new tab to my existing browser window.
Note: This is not related to the option for "Enable JavaScript debugging for ASP.NET (Chrome, Edge and IE)" as previous posts point to separately - as this option is already disabled for me. I'm assuming there is another toggle somewhere that I don't know about and need to change.
Any help/pointers much appreciated.
Upvotes: 3
Views: 361
Reputation: 3831
Go to list where you choose the browse with options(IIS Express,Web Browser,Browse with etc.),there is an option script debugging, disable it and you are done.
Upvotes: 0
Reputation: 2012
I had the same issue since upgrading to 15.7.1+ The solution is a bit obscure and hidden in the Tools -> Options menu.
To revert to the previous functionality, where it opens a new debug session in an already open browser window with a new tab, do the following:
Tools -> Options -> Projects and Solutions -> Web Projects -> Untick Stop debugger when browser window is closed
Upvotes: 4