如何使用Chrome开发工具调试基于v8的远程应用程序 [英] How to debug remote v8-based application using Chrome Dev Tools
问题描述
Chrome使用WebKit远程调试协议,包括控制台,DOM调试器,.. 。调试器
$ b
WebKit远程调试协议是Google Chrome / Chromium调试协议。您可以在 http://developers.google.com/chrome上找到它的说明。 -bloper-tools / docs / remote-debugging
所以可以使用Chrome开发工具附带的chrome调试基于v8的远程应用程序?
解决方案试试节点Webkit Agent for NodeJS版本> = 0.6
Node-inspector用于NodeJS版本0.4
需要在节点服务器中设置设置,并根据节点版本访问库提供的URL。您无法直接在Chrome中使用开发人员工具。
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?
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.
这篇关于如何使用Chrome开发工具调试基于v8的远程应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!