Developing and testing features or extensions for Microsoft Edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In stable 112 version, remote debugger can't work fine!
I used cmd .\msedge.exe --headless=true --remote-debugging-port=0 https://www.baidu.com to open an browser. Then I in another browser to open http://127.0.0.1:4340/json ,choosed page's devtoolsFrontendUrl opened.
But it happend an error:
webSocket disconnected!!!
What can I do for this?
Developing and testing features or extensions for Microsoft Edge
Answer accepted by question author
Hi @zhixiang ma ,
It seems like a common issue on both Edge and Chrome, and I have reproduced this issue on both. You can report this issue on this chromium forum and send feedback by pressing Alt+Shift+I.
As a workaround, you can instead call the devtools at edge://inspect/#device. You will see this option if you have successfully configured the remote debugging:
Then, just select inspect. If you are not able to see Remote Target, you may have to wait until the remote target is recognized.
Result
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Shijie Li