Search code examples
javascriptgoogle-chromeremote-debuggingv8

How to debug remote v8-based application using Chrome Dev Tools


v8 has its own JSON based remote-debugging protocol and two UI debuggers:console application D8 and a eclipse plugin(hosted at http://code.google.com/p/chromedevtools)

Chrome use WebKit Remote Debugging Protocol including Console, DOM Debugger, ..., Debugger

"WebKit Remote Debugging Protocol" is a Google Chrome/Chromium debug protocol. You will find its description at http://developers.google.com/chrome-developer-tools/docs/remote-debugging

So is it possible to use the Chrome Dev Tools ships with chrome to debug remote v8-based application?


Solution

  • Try Node Webkit Agent for NodeJS version >= 0.6 Node-inspector is for NodeJS version 0.4

    The setup need to be set in your node server and access the URL provided by the library base on your node version. You cannot use Developer Tools in Chrome directly.