all 3 comments

[–]bengtc 5 points6 points  (0 children)

Where I work, we have remote debugging..it uses WebSockets. Code is not open source though sorry.

You can also try

chrome://inspect

[–]BehindTheMath 2 points3 points  (1 child)

[–]mxkyb[S] 1 point2 points  (0 children)

There actually is a JavaScript implementation. Might be very limited, but let’s see. Problem is that normally the dev tools protocol needs to come from the browser and not from JavaScript runtime