--inspect-port=[host:]port


设置在激活检查器时使用的 host:port。在通过发送 SIGUSR1 信号激活检查器时很有用。除非传递了 --disable-sigusr1

【Set the host:port to be used when the inspector is activated. Useful when activating the inspector by sending the SIGUSR1 signal. Except when --disable-sigusr1 is passed.】

默认主机是 127.0.0.1。如果指定端口 0,将使用一个随机可用端口。

【Default host is 127.0.0.1. If port 0 is specified, a random available port will be used.】

请参见下面关于 host 参数使用的 安全警告

【See the security warning below regarding the host parameter usage.】