node.js - Node 检查器重复错误

标签 node.js express node-inspector

我使用 node.js 和 ExpressJS。我想调试我的代码。

Node --调试

$ 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 检查器

$ node-inspector
Node Inspector v0.7.2
Visit http://127.0.0.1:8080/debug?port=5858 to start debugging.

Chrome

enter image description here

Detached from the target
Remote debugging has been terminated with reason: Debugged process exited.
Please re-attach to the new target.

我愿意

我想像 Xcode 一样使用断点。 但此错误重复出现,调试页面自动刷新。

最佳答案

请尝试安装旧版本的 Node Inspector(v0.7.0 或 v0.6.2)。您也可以在那里重现该问题吗?

你也可以试试github上的最新版本

$ npm install -g node-inspector/node-inspector

无论结果如何,请填写一个github问题(link)并将结果包含在描述中。

免责声明:我是 Node Inspector 的维护者。

关于node.js - Node 检查器重复错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22650491/

相关文章:

node.js - 解析托管静态文件 URL 别名

javascript - 无法使用带有 ui-router AngularJS View 的不同 Controller

node.js - 如何在 Windows 7 上使用 npm 安装 v8-profiler?

node.js - 从 docker 容器调试 Node (>=6.3)

node.js - coffeescript sourcemap 未在 chrome 中加载

javascript - 如何在 MongoDB 中创建自定义对象作为输出,并以字段名称作为键?

node.js - 如何使用quirer.prompt为输入添加前缀

node.js - GET请求 'find by name'而不是通过id查找

html - 具有相同名称的多个输入的nodejs表单

firebase - 在 Firebase Cloud 函数中获取请求 URL