DevTools Protocol No Longer Working on Edge

Anonymous
2021-03-08T15:16:18+00:00

Hello,

I have been using this guide (Microsoft Edge DevTools Protocol Update - Microsoft Edge Development | Microsoft Docs) to launch Edge with the remote debugging port open to access the HTTP endpoints. However, with the latest update, it seems as if this approach is not working anymore, as the port is not open and I cannot access any endpoints. I have done this successfully many times in the past, and I have made sure to close all open versions of Edge before I run the command. I have tried with running the command with PowerShell and command line, and I have tried adding the flag --remote-debugging-port=9222 to the target of the Edge shortcut. None of these solutions worked. The same commands work on Google Chrome and I am successfully able to access the DevTools Protocol API. Am I doing anything wrong here? Did the newest update break the DevTools protocol or was this an intentional change?

Thank you.

Microsoft Edge | Other | Windows 10

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} vote

6 answers

Sort by: Most helpful
  1. Sumit D - IA 151.5K Reputation points Independent Advisor
    2021-03-08T15:58:27+00:00

    Hi,

    I am Sumit, an Independent Advisor here to assist you.

    On the latest Edge 89, I can open Devtools protocol.

    In the run, if you use this command, are you able to use it?

    C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --remote-debugging-port=9222

    0 comments No comments
  2. Anonymous
    2021-03-08T16:18:41+00:00

    Hello,

    Thank you for the response. That is the command I used to run and it used to work for me.

    However, now I cannot connect to localhost:9222.

    Thank you.

    0 comments No comments
  3. Sumit D - IA 151.5K Reputation points Independent Advisor
    2021-03-09T02:48:52+00:00

    Thank you for the reply. Are you using any 3rd party anti-virus?

    0 comments No comments
  4. Anonymous
    2021-03-09T14:14:25+00:00

    No, I am not, just Windows Security. DevTools still works on Google Chrome, but if I use that exact same command for Edge, it does not work.

    1 person found this answer helpful.
    0 comments No comments
  5. Sumit D - IA 151.5K Reputation points Independent Advisor
    2021-03-10T05:24:14+00:00

    I have asked someone for better help - appreciate your patience.

    0 comments No comments