visual-studiovisual-studio-2017

How to stop browser closing automatically when you stop debugging on VS 2017


I'm trying out the new VS 2017 RC and wondering if anyone knows how to get the previous debugging behavior back

In VS 2015 it went like this:

Press start debugging

Now in 2017:

Is it possible in 2017 to switch back to the 2015 style? So the Chrome/Website window can dock with other Chrome windows/tabs, and it stays open after you stop debugging?

Additionally, I find the new Chrome window frustrating to use, as it seems not to have any history/content available. E.g I can't autocomplete forms or urls, which is very annoying when I'm trying to test a form


Solution

  • Visual Studio 2017 version 15.7 and higher & Visual Studio 2019 changed things again.

    Disabling the following checkboxes will allow you to keep the browser open (doesn't close after stop debugging) and opens another tab (instead of another window):

    enter image description here

    enter image description here

    Tools > Options > Debugging > General

    Tools > Options > Projects and Solutions > Web Projects