visual-studiogoogle-chrome

Visual Studio closes all browser windows


A few days i ran into this weird behaviour: every time i stop debugging a web app VS closes all browser windows (all Chrome or all Edge), not just the window it startet. no matter if i opened them before or after i started debugging.

i updated visual studio 2022 to the newest version (17.14.2) but i still have the weird behaviour.

anyone else ran into this and has a solution?


Solution

  • Update the Chrome to latest version (137.0.7151.104) have solved the problem for me. It will no longer close the chrome when debugging is stopped from Visual Studio after this update.
    enter image description here
    REF: https://www.reddit.com/r/VisualStudio/comments/1l52ssj/bug_stop_debugging_closes_all_browserstabs/