Visual Studio Do not open new browser instance

ovasylenko picture ovasylenko · Feb 7, 2017 · Viewed 48.8k times · Source

when I try to run a web application in visual studio 2017RC on windows 10, it opens a new browser instance(in my case chrome). I've tried also with internet explorer, situation is same, and browser not signed in, but if I just manually run chrome it is signed in. How to prevent visual studio to run a new browser instance on each time I run web application? When I press run website it should be opened in same window as previous application(just next tab)

Answer

Fishcake picture Fishcake · Mar 8, 2017

I've discovered that Turning off Javascript debugging means that sites open in a new tab of an existing Chrome instance. From what I've seen the in Visual Studio debugging is not as good as Chrome's dev tools so turning this off is not an issue for me.

Turn off javascript debugging

UPDATE

As of VS2017 15.7.1 (and still the case in VS2019 16.0.0) this fix no longer works and I've found I've had to additionally uncheck Stop debugger when browser window is closed

enter image description here