VS used to open browser in new tab, now opens new browser

后端 未结 1 1733
甜味超标
甜味超标 2021-01-03 19:40

I\'ve been updating to the latest version of Visual Studio Preview and I think a setting has been changed.

When I start debugging an ASP.NET web app in Visual Studio

相关标签:
1条回答
  • 2021-01-03 20:12

    After updating Visual Studio to the latest version 15.7.0 I ran into the same issue. In my case each time I debugged my project it opens up two new instances of Chrome. As this was not annoying enough, each time I was moving the window to my second screen, the debug-session stopped immediately.

    I've searched the Visual Studio options for browser and found a setting called

    Stop debugger when browser window is closed

    which could be found under Projects and Solutions -> Web Projects. I unchecked this setting and et voilà the next debug-session started as tabs in my already running browser-instance.

    As I am not sure if this is a bug introduced with this Visual Studio version, this may change again in any next release. So this setting may be reverted in case of any unexpected behavior.

    Update

    Seems like version 15.8.5 still has this issue/behavior.

    0 讨论(0)
提交回复
热议问题