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

删除回忆录丶 提交于 2019-12-05 13:14:35

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!