【发布时间】:2015-04-14 23:08:12
【问题描述】:
我有一个在 Nitrous 盒子上运行的简单 Meteor 应用程序。我希望能够使用node-inspector 进行服务器端调试(如here 所述),但我无法进入控制台。
我的 Meteor 应用程序在 http://0.0.0.0:3000/ 的盒子上本地运行,我可以按照指南 here 在 Chrome 中查看它。然后,当我运行 node-inspector 时,我收到以下消息:
Node Inspector v0.8.3
Visit http://127.0.0.1:8080/debug?port=5858 to start debugging.
我怎样才能到达这个地址?我试过了:
- 导航到
https://example-name.example-region.nitrous.io:8080/debug?port=5858 - 运行中:
node-inspector --web-host 0.0.0.0 - 运行中:
node-inspector --web-host https://example-name.example-region.nitrous.io
想法?有什么方法可以访问这个控制台吗?
【问题讨论】:
标签: javascript node.js meteor nitrousio node-inspector