May 07 2019 06:06 AM
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!
May 07 2019 12:14 PM
Solution@ShannyBot Thank you for your feedback.
We recommend that you use the Edge debugger for VSCode to debug against Edge.
A sample launch.json to launch your project can also be found here - https://github.com/Microsoft/vscode-edge-debug2#microsoft-edge-chromium
Thanks.
May 07 2019 03:31 PM
@Dhanvi_Kapila Thanks so much, that works perfectly!
May 07 2019 12:14 PM
Solution@ShannyBot Thank you for your feedback.
We recommend that you use the Edge debugger for VSCode to debug against Edge.
A sample launch.json to launch your project can also be found here - https://github.com/Microsoft/vscode-edge-debug2#microsoft-edge-chromium
Thanks.