【发布时间】:2014-02-17 07:52:27
【问题描述】:
我想调试我的sails.js 应用程序,但我不知道如何在这种情况下启动node-inspector。
通常它会去:
$ node --debug myapp.js
如果我正常运行我的sails应用程序:
$ sails lift --prod
然后启动node-inspector
$ node-inspector --debug-port 1337
Node Inspector v0.7.0-2
info - socket.io started
Visit http://127.0.0.1:8080/debug?port=1337 to start debugging.
我在检查器 GUI 中收到此错误:
Error: read ECONNRESET. Check there is no other debugger client attached to port 1337.
【问题讨论】:
标签: javascript node.js debugging sails.js