Forum Discussion

ShannyBot's avatar
ShannyBot
Copper Contributor
May 07, 2019
Solved

Debugging Web Apps with Edge and VSCode

I've been attempting to use the new Edge with VS Code for debugging my web apps. It works very well when it works.... To do this, I have the Debugger for Chrome extension installed, and I've modified the launch.json to the following:

 

Whenever there are no other instances of Edge currently running, it works beautifully. The debugger connects and I'm able to step through my software and set breakpoints within VS Code to be hit within the browser debugger.

There's a problem if there's already an instance of Edge running when I attempt to start the debugger. The browser launches, and hangs in the about:blank screen for a few seconds before the process ends and returns to VS Code with the following error:

 

Is this a bug in the Edge browser, or is there something I should be doing differently in my launch.json to fix this? Thanks!

Resources