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

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