--inspect-brk[=[host:]port]


host:port 上激活检查器,并在用户脚本开始处中断。默认的 host:port127.0.0.1:9229。如果指定端口为 0,将使用一个随机可用端口。

【Activate inspector on host:port and break at start of user script. Default host:port is 127.0.0.1:9229. If port 0 is specified, a random available port will be used.】

有关 Node.js 调试器的更多说明,请参见 Node.js 的 V8 检查器集成

【See V8 Inspector integration for Node.js for further explanation on Node.js debugger.】