Visual Studio 2017 - 15.8.4 (but happens on previous versions), Windows 7, IIS Express 64. Chrome 64 (Latest when posting).
When I launch Chrome for debugging from within Visual Studio, debugging works fine until I hit "Choose File" to browse a file for upload and selecting a file (not uploading it, just selecting it). Visual Studio debugger will immediately stop without giving any reason.
When using IE's "Browse..." button and selecting a file, which is the equivalent of the same Chrome HTML element, everything is working as expected.
My hunch is that Chrome is trying to do an extra socket connection which is upsetting IIS Express and triggering VS to stop debugging.
Do you know any solution to keep debug running as expected, on Chrome?
Opening Developer Tools in Chrome Stops the Script Debugging Session As you can see while I was switching to Developer tools in Google Chrome at debug session, the application stops debugging. Go to Tools -> Options -> Debugging -> General and...
When you press F5, the “start debugging” command, Visual Studio automatically launches a web server to serve your module (if necessary) along with an instance of Chrome that runs your Native Client module, and also attaches an appropriate debugger. You can switch between platforms as you work to compare the behavior of your code.
The first way to stop debugging is with the ‘Stop Debugging’ command ( ; Shift + F5) from the ‘Debug’ toolbar: We can also use the ‘Debug’ menu and choose ‘Stop Debugging’: Note that debugging also stops when our program ends. To have our program continue under the debugger,...
Set Google Chrome as the Debugging Browser in Visual Studio. Click on the arrow near by start button there you will get list of browser. Select the browser you want your application to be run with and click on "Set as Default" Click ok and you are done with this.
I just stumbled over the same error and for me, it was because I have AVG antivirus installed, and because it starts the debugging in an AVG Secured Chrome instance. I just changed it to normal Chrome, and it stopped exiting debug-mode. Hope it helps!
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