```typescript
import { waitForDebugger } from "node:node__inspector.d.ts";
```
waitForDebugger(): void
Blocks until a client (existing or connected later) has sent `Runtime.runIfWaitingForDebugger` command.
An exception will be thrown if there is no active inspector.