Search code examples
c#google-chromeasp.net-core-webapivisual-studio-2022taskbar

Visual Studio 2022 - Chrome debug window is opened on top of existing Chrome window


When I launch my ASP.NET Core Web Api project in VS Pro the resulting Swagger page is opened in a new browser places on top of an existing Chrome Browser window. This is driving me crazy! Opening the same project in VS Community Edition opens the Windows where I last closed it. It remembers the setting and it creates a new taskbar icon for the window.

How can I make VS Pro behave the same as Community Edition?


Solution

  • Script Debugging setting is the culprit. If disabled Chrome will launch on top of existing Chrome windows. If enabled it will start a new Chrome windows where it was last closed.

    enter image description here