Visual Studio 2017 Error --Cannot connect to runtime process
Make sure to disable JavaScript debugging.
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:
What worked for me it was: disabling Chrome run on background
You can then re-enable that on Chrome advanced settings:
This was very annoying problem. I hope it can help someone else having the same issue.