UNPKG

nstdlib-nightly

Version:

Node.js standard library converted to runtime-agnostic ES modules.

19 lines (13 loc) 507 B
// Source: https://github.com/nodejs/node/blob/65eff1eb/lib/internal/main/inspect.js import { prepareMainThreadExecution, markBootstrapComplete, } from "nstdlib/lib/internal/process/pre_execution"; import * as __hoisted_internal_debugger_inspect__ from "nstdlib/lib/internal/debugger/inspect"; // `node inspect ...` or `node debug ...` prepareMainThreadExecution(); markBootstrapComplete(); // Start the debugger agent. process.nextTick(() => { __hoisted_internal_debugger_inspect__.start(); });