4

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?

asked Jan 2, 2013 at 13:50
0

2 Answers 2

2

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.

answered Jan 2, 2013 at 14:11
Sign up to request clarification or add additional context in comments.

1 Comment

node-inspector is very useful, chrome, safari and other webkit based web browser all works. Thanks.
0

node-inspector is designed to do exactly what you ask.

It seems that it competes with Node Webkit Agent. I haven't tried webkit agent yet as it seems newer and it failed to install without some meddling. node-inspector worked for me, and fairly well, although there is a bit of latency from running a statement to getting the output marshaled into Chrome's debugger. Overall, it's an extremely useful tool.

answered Feb 14, 2013 at 2:22

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.