Just updated to 15.7 and now when I begin debugging Chrome opens in new window.
My JS debugging is off (tried turning it on and back off) and unlike when it's on the new window is under my standard Chrome profile. However If I snap the chrome window into my other window debugging ends immediately.
Any ideas on how to correct this?
To enable the Debug Location toolbar, click in an empty part of the toolbar area and select Debug Location from the dropdown, or select View > Toolbars > Debug Location. Set a breakpoint and start debugging. When the breakpoint is hit, execution pauses and you can see the location in the Debug Location toolbar.
For the new versions of Visual studio, click on the dropdown next to the dropdown of "IIS Express". Now simply choose Browse With and choose Google Chrome, and click Set as default . I hope it helps!!
To debug any project in either Chrome or Microsoft Edge, all you need to do is to start a session by pressing F5 or activating the debug icon in the menu bar and selecting “Run and debug”. Alternatively, you can also use the Visual Studio Code command palette and run the “Debug: Open Link” command.
In Visual Studio 2017 version 15.7.1 you can do the following:
Tools > Options > Projects and Solutions > Web Projects, uncheck Stop debugger when browser window is closed.
See comments from Hans about posted fix in the Pre-release version that has yet to be released.
My workaround, because the debugger would randomly stop when using the new window, was to set the project to not open a webpage and then open the site via the IIS icon in the taskbar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With