Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 Error --Cannot connect to runtime process

I am getting this error whenever I try to debug my project from visual studio.

I tried adding these settings to launchSettings.json but still no difference.

"protocol": "legacy", "runtimeArgs": [ "--debug=5858" ], "restart": true, "port": 5858,

enter image description here

what I am I doing wrong here.Any suggestions to resolve this ?

like image 433
roney Avatar asked Sep 09 '25 15:09

roney


2 Answers

I used to receive similar error. Every time I tried to debug the process was crashing, this was related to javascript debugging.

inside Debug -> Options you can disable it.

Just uncheck the highlighted one: enter image description here

like image 126
johnny 5 Avatar answered Sep 12 '25 04:09

johnny 5


Make sure to disable JavaScript debugging.

Capture

like image 36
riadh hamidouche Avatar answered Sep 12 '25 03:09

riadh hamidouche