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.
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: