Questions tagged «node-inspector»


6
使用node-inspector调试node.js
我正在尝试使用node-inspector调试我的nodejs应用程序。但是Google Chrome不会显示该代码。 我正在使用以下内容, Node.js:v0.10.26 快递:4.0.0 节点检查器:v0.7.3 Google Chrome版本:34.0.1847.131 这就是我要启动调试器的过程。 $ node-inspector Node Inspector v0.7.3 Visit http://127.0.0.1:8080/debug?port=5858 to start debugging. 在另一个控制台中 $ node --debug app.js debugger listening on port 5858 $ 然后启动Google Chrome浏览器并转到 http://127.0.0.1:8080/debug?port=5858 它打开了节点检查器,但是没有任何代码。所有窗口都是空的。 注意到我没有收到“ Express服务器在端口3000上侦听” 根据节点检查器全部尝试,无法连接到节点,但没有运气 无法解决我所缺少的。希望您有什么建议。.所以我可以在Google Chrome中调试Node.js应用。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.