waitForDebugger - Node documentation
function waitForDebugger

Usage in Deno

import { waitForDebugger } from "node:inspector";
waitForDebugger(): void

Blocks until a client (existing or connected later) has sentRuntime.runIfWaitingForDebugger command.

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

Return Type

void