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.】