--inspect-port=[host:]port


设置在激活调试器时使用的 host:port。在通过发送 SIGUSR1 信号激活调试器时非常有用。

🌐 Set the host:port to be used when the inspector is activated. Useful when activating the inspector by sending the SIGUSR1 signal.

默认主机是 127.0.0.1

🌐 Default host is 127.0.0.1.

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

🌐 See the security warning below regarding the host parameter usage.