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


host:port 上激活检查器并等待调试器附加。默认的 host:port127.0.0.1:9229。如果指定端口为 0,将使用一个随机的可用端口。

【Activate inspector on host:port and wait for debugger to be attached. 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.】