inspector.waitForDebugger()


阻塞直到客户端(现有或稍后连接)发送 Runtime.runIfWaitingForDebugger 命令。

¥Blocks until a client (existing or connected later) has sent Runtime.runIfWaitingForDebugger command.

如果没有活动的检查器,则将会抛出异常。

¥An exception will be thrown if there is no active inspector.