【发布时间】:2014-05-04 05:38:32
【问题描述】:
我使用 node.js 和 ExpressJS。我想调试我的代码。
节点 --debug
$ node --debug app.js
debugger listening on port 5858
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Listening on port 3000
xStringLength": 10000}}Content-Length: 126
xStringLength": 10000}}Content-Length: 127
xStringLength": 10000}}Content-Length: 127
xStringLength": 10000}}Content-Length: 127
xStringLength": 10000}}Content-Length: 127
节点检查器
$ node-inspector
Node Inspector v0.7.2
Visit http://127.0.0.1:8080/debug?port=5858 to start debugging.
铬
Detached from the target
Remote debugging has been terminated with reason: Debugged process exited.
Please re-attach to the new target.
我愿意
我想使用像 Xcode 这样的断点。 但此错误重复出现,调试页面自动刷新。
【问题讨论】:
-
那你的问题是什么?
-
我编辑了我的问题。
-
你的应用为什么会退出?
-
我认为我的应用程序没有退出。所以,我对这个错误感到困惑。
-
我遇到了类似的错误。这有什么好运气吗??
标签: node.js express node-inspector