Share via

remote debugger can't work fine

zhixiang ma 20 Reputation points
2023-04-10T14:29:57.16+00:00

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:
User's image

webSocket disconnected!!!
What can I do for this?

Microsoft Edge | Microsoft Edge development
0 comments No comments

Answer accepted by question author

Anonymous
2023-04-11T08:11:24.2833333+00:00

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:

User's image

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

User's image


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

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.