问题标签 [blink-developer-tools]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
518 浏览

node.js - 使用环境变量启动节点 --inspect / --debug-brk

很长一段时间以来,我一直在使用 Node.js 使用 node-inspector 进行调试和检查,但我从未见过任何允许您使用环境变量启动调试环境的文档。

有谁知道我是否可以这样做:

使用环境变量代替?就像是:

0 投票
2 回答
1584 浏览

node.js - Cannot open Chrome to the right url for debugging Node.js script

I run this at the command line:

normally this commands spits out a url that I copy and paste to the browser. At some point it also auto-opened Chrome to the right url so I could start debugging immediately which was very nice. But now it doesn't log the url to open, nor does it auto-open the url! Damn.

Note that the following url is not the right one to open:

Anybody seen this with Node.js versions 6+?