在Windows上使用带有meteor的节点检查器

时间:2017-09-28 05:12:41

标签: meteor node-inspector

我正在尝试使用node-inspector帮助在Windows上调试我的meteor应用程序。如下所示:https://docs.meteor.com/commandline.html#meteordebug

运行meteor debug应该默认启动http://localhost:8080/debug?port=5858 node-inspector门户网站。

我可以导航到网址,但是看不到“来源”下的任何文件(或任何地方)

我已尝试手动设置端口,并尝试通过npm安装node-inspector以防万一需要,并尝试运行"meteor NODE_OPTIONS='--debug' ...但这些似乎没有帮助(并且NODE_OPTIONS参数甚至不起作用......)

我缺少什么/为什么文件不显示?我该如何调试这个debuggng问题......?

PS - 我确实看到了Notifications permission has been blocked as the user has dismissed the permission prompt several times. See https://www.chromestatus.com/features/6443143280984064 for more information. 在调试器选项卡上的开发控制台中。这会导致任何问题吗?不确定我认为阻止了哪些通知权限。

更新 还会在控制台中弹出这3个错误: Runtime.js:358 Assertion failed: Unknown experiment canvasInspection Runtime._assert @ Runtime.js:358 21:53:06.599 Runtime.js:367 TypeError: Cannot read property 'createSetting' of undefined at WebInspector.FilterBar.setName (:8080/ui/FilterBar.js:62) at WebInspector.NetworkPanel (:8080/network/NetworkPanel.js:47) at Function.WebInspector.NetworkPanel._instance (:8080/network/NetworkPanel.js:408) at eval (:8080/node/network/NetworkPanel.js:13) at eval (<anonymous>) at evaluateScript (Runtime.js:153) at scriptSourceLoaded (Runtime.js:136) at <anonymous> Runtime._reportError @ Runtime.js:367 21:53:06.772 Runtime.js:367 TypeError: Cannot read property 'sources' of undefined at WebInspector.SourcesOverrides._hideChromeSpecifics (:8080/node/sources/SourcesOverrides.js:12) at WebInspector.SourcesOverrides (:8080/node/sources/SourcesOverrides.js:5) at eval (:8080/node/sources/SourcesOverrides.js:63) at eval (<anonymous>) at evaluateScript (Runtime.js:153) at scriptSourceLoaded (Runtime.js:136) at <anonymous>

非常感谢你的帮助。

0 个答案:

没有答案