Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 830
Holm76 Avatar asked Sep 03 '25 06:09

Holm76


1 Answers

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

like image 82
Holm76 Avatar answered Sep 04 '25 21:09

Holm76