This website may use cookies. More info. That's Fine x
Welcome Login

Visual studio: Cannot connect to runtime process error on debugging


Visual Studio 2017

Problem:

When debugging in visual studio 2017, you can get this error:

vs-runtimeerror1

 

 

Solution:

This is a bug in visual studio 2017.

You can't try to change your code to fix this.

Javascript debugging is a new feature and there are plenty of different options to debug javascript (Eg: use firefox or chrome console to debug js), so you can simply disable it

 

To disable Javascript debugging on visual studio 2017:

Vs > Debug menu item > Debugging > General > and uncheck 'Enable JavaScript debugging for ASP.NET (Chrome and IE)'.

vs-runtimeerror2

 

Note: alternatively, you can try restarting your computer/windows.

 

 

 

For more information, see here.


Created on: Tuesday, February 26, 2019 by Andrew Sin