Search code examples
debuggingvisual-studio-2017visual-studio-debugging

Debug session ends when browser is closed


When I close the browser launched by Visual Studio 2017, debugging an ASP.NET application with F5, the debug session ends

Why?


Solution

  • Please go to Tools-Options-Projects and Solutions-Web Projects and uncheck the option "Stop debugger when browser window is closed, close browser when debugging stops" to have a try.