Visual Studio will stop debugging when selecting "Choose File" in Chrome

Viewed 900

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?

1 Answers

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!

Related