v8有自己的基于JSON的远程调试协议和两个UI调试器:控制台应用程序D8和eclipse插件(托管在http://code.google.com/p/chromedevtools)
Chrome使用WebKit远程调试协议,包括控制台,DOM调试器,..., Debugger
“WebKit远程调试协议”是Google Chrome / Chromium调试协议 . 您可以在http://developers.google.com/chrome-developer-tools/docs/remote-debugging上找到相关说明 .
那么是否可以使用chrome Dev Tools附带chrome来调试基于v8的远程应用程序?
2 回答
尝试Node Webkit Agent用于NodeJS版本> = 0.6节点检查器用于NodeJS版本0.4
需要在节点服务器中设置设置,并根据节点版本访问库提供的URL . 您无法直接在Chrome中使用开发者工具 .
node-inspector旨在完全按照您的要求进行操作 .
它似乎与Node Webkit Agent竞争 . 我没有'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'的调试器 . 总的来说,它是一个非常有用的工具 .