--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 Inspector 集成

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