Usage in Deno
import * as mod from "node:inspector/promises";
The node:inspector/promises
module provides an API for interacting with the V8
inspector.
The inspector.Session
is used for dispatching messages to the V8 inspector
back-end and receiving message responses and notifications.
This feature is only available with the --experimental-network-inspection
flag enabled.
This feature is only available with the --experimental-network-inspection
flag enabled.
This feature is only available with the --experimental-network-inspection
flag enabled.
This feature is only available with the --experimental-network-inspection
flag enabled.
Activate inspector on host and port. Equivalent to node --inspect=[[host:]port]
, but can be done programmatically after node has
started.
Blocks until a client (existing or connected later) has sent Runtime.runIfWaitingForDebugger
command.
JavaScript call frame. Array of call frames form the call stack.
Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
Specifies a number of samples attributed to a certain source position.
Profile node. Holds callsite information, execution statistics and child nodes.
Represents function call argument. Either remote object id objectId
, primitive value
, unserializable primitive value or neither of (for undefined) them should be specified.
Stack entry for runtime errors and assertions.
Detailed information about exception (or error) that was thrown during script compilation or execution.
Object internal property descriptor. This property isn't normally visible in JavaScript code.
Object containing abbreviated remote object value.
Object property descriptor.
Mirror object referencing original JavaScript object.
If debuggerId
is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace
and Debugger.paused
for usages.