--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
YurySo this is how a chrome debugging session works:- I press f12 in a webpage
- Chrome opens a new frame(with a separate v8 instance), loads the devtools html/css/javascript into it
- The devtools instance connects with the host google chrome, which will in turn emit events from the webpage to the debugger, and send debugger commands to the webpage and its v8 instanceNow lets say I implement the debugger protocol on the custom vm, which will be running inside a normal chrome tab. How can I open a websocket server from inside that tab so that a remote devtools can access it? Do I need to write a custom chrome extension that exposes some websocker server API to javascript running inside a chrome tab?(If thats even possible)
Now lets say I implement the debugger protocol on the custom vm, which will be running inside a normal chrome tab. How can I open a websocket server from inside that tab so that a remote devtools can access it? Do I need to write a custom chrome extension that exposes some websocker server API to javascript running inside a chrome tab?(If thats even possible)
Yes, you would need to find a way to create a websocket server in the browser. Not sure how feasible it is using the extension API, probably implementing a part in NaCl could help.