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.