Skip to main content
waitForDebugger - inspector - Node documentation
function waitForDebugger

Usage in Deno

import { waitForDebugger } from "node:inspector";
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.

Return Type

void