Skip to main content

inspector

Deno compatibility

console is supported. Other APIs are non-functional stubs.

The node:inspector module provides an API for interacting with the V8 inspector.

Usage in Deno

import * as mod from "node:inspector";

Classes

c
Session

The inspector.Session is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications.

Functions

f
close

Deactivate the inspector. Blocks until there are no active connections.

    f
    Network.loadingFailed

    This feature is only available with the --experimental-network-inspection flag enabled.

      f
      Network.loadingFinished

      This feature is only available with the --experimental-network-inspection flag enabled.

        f
        Network.requestWillBeSent

        This feature is only available with the --experimental-network-inspection flag enabled.

          f
          Network.responseReceived

          This feature is only available with the --experimental-network-inspection flag enabled.

            f
            open

            Activate inspector on host and port. Equivalent to node --inspect=[[host:]port], but can be done programmatically after node has started.

              f
              url

              Return the URL of the active inspector, or undefined if there is none.

                f
                waitForDebugger

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

                  Interfaces

                  I
                  I
                  Debugger.CallFrame

                  JavaScript call frame. Array of call frames form the call stack.

                  I
                  Debugger.EnableReturnType
                  No documentation available
                  I
                  I
                  HeapProfiler.SamplingHeapProfileNode

                  Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

                  I
                  InspectorNotification
                  No documentation available
                  I
                  Network.Headers

                  Request / response headers as keys / values of JSON object.

                    I
                    NodeWorker.DetachParameterType
                    No documentation available
                    I
                    Profiler.CoverageRange

                    Coverage data for a source range.

                    I
                    Profiler.FunctionCoverage

                    Coverage data for a JavaScript function.

                    I
                    Profiler.PositionTickInfo

                    Specifies a number of samples attributed to a certain source position.

                    I
                    Profiler.ProfileNode

                    Profile node. Holds callsite information, execution statistics and child nodes.

                    I
                    Profiler.ScriptCoverage

                    Coverage data for a JavaScript script.

                    I
                    Profiler.StopReturnType
                    No documentation available
                    I
                    Runtime.CallArgument

                    Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified.

                    I
                    Runtime.CallFrame

                    Stack entry for runtime errors and assertions.

                    I
                    Runtime.EntryPreview
                    No documentation available
                    I
                    Runtime.ExceptionDetails

                    Detailed information about exception (or error) that was thrown during script compilation or execution.

                    I
                    Runtime.InternalPropertyDescriptor

                    Object internal property descriptor. This property isn't normally visible in JavaScript code.

                    I
                    Runtime.ObjectPreview

                    Object containing abbreviated remote object value.

                    I
                    Runtime.QueryObjectsReturnType
                    No documentation available
                    I
                    Runtime.StackTrace

                    Call frames for assertions or error messages.

                    I
                    Runtime.StackTraceId

                    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.

                    I
                    Schema.Domain

                    Description of the protocol domain.

                    I
                    Schema.GetDomainsReturnType
                    No documentation available

                    Namespaces

                    N
                    Console
                    No documentation available
                      N
                      Debugger
                      No documentation available
                        N
                        HeapProfiler
                        No documentation available
                          N
                          Network
                          No documentation available
                            N
                            NodeRuntime
                            No documentation available
                              N
                              NodeTracing
                              No documentation available
                                N
                                NodeWorker
                                No documentation available
                                  N
                                  Profiler
                                  No documentation available
                                    N
                                    Runtime
                                    No documentation available
                                      N
                                      Schema
                                      No documentation available

                                        Type Aliases

                                        T
                                        Debugger.BreakpointId

                                        Breakpoint identifier.

                                          T
                                          Debugger.CallFrameId

                                          Call frame identifier.

                                            T
                                            HeapProfiler.HeapSnapshotObjectId

                                            Heap snapshot object id.

                                              T
                                              Network.MonotonicTime

                                              Monotonically increasing time in seconds since an arbitrary point in the past.

                                                T
                                                Network.RequestId

                                                Unique request identifier.

                                                  T
                                                  Network.ResourceType

                                                  Resource type as it was perceived by the rendering engine.

                                                    T
                                                    Network.TimeSinceEpoch

                                                    UTC time in seconds, counted from January 1, 1970.

                                                      T
                                                      NodeWorker.SessionID

                                                      Unique identifier of attached debugging session.

                                                        T
                                                        NodeWorker.WorkerID
                                                        No documentation available
                                                          T
                                                          Runtime.ExecutionContextId

                                                          Id of an execution context.

                                                            T
                                                            Runtime.RemoteObjectId

                                                            Unique object identifier.

                                                              T
                                                              Runtime.ScriptId

                                                              Unique script identifier.

                                                                T
                                                                Runtime.Timestamp

                                                                Number of milliseconds since epoch.

                                                                  T
                                                                  Runtime.UniqueDebuggerId

                                                                  Unique identifier of current debugger.

                                                                    T
                                                                    Runtime.UnserializableValue

                                                                    Primitive value which cannot be JSON-stringified.

                                                                      Variables

                                                                      v
                                                                      console

                                                                      An object to send messages to the remote inspector console.


                                                                        class Session

                                                                        extends EventEmitter

                                                                        Usage in Deno

                                                                        import { Session } from "node:inspector";
                                                                        

                                                                        The inspector.Session is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications.

                                                                        Constructors #

                                                                        #Session()
                                                                        new

                                                                        Create a new instance of the inspector.Session class. The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend.

                                                                        Methods #

                                                                        #addListener(
                                                                        event: string,
                                                                        listener: (...args: any[]) => void,
                                                                        ): this
                                                                        #addListener(
                                                                        event: "inspectorNotification",
                                                                        listener: (message: InspectorNotification<object>) => void,
                                                                        ): this

                                                                        Emitted when any notification from the V8 Inspector is received.

                                                                        #addListener(
                                                                        event: "Runtime.executionContextCreated",
                                                                        ): this

                                                                        Issued when new execution context is created.

                                                                        #addListener(
                                                                        event: "Runtime.executionContextDestroyed",
                                                                        ): this

                                                                        Issued when execution context is destroyed.

                                                                        #addListener(
                                                                        event: "Runtime.executionContextsCleared",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Issued when all executionContexts were cleared in browser

                                                                        #addListener(
                                                                        event: "Runtime.exceptionThrown",
                                                                        ): this

                                                                        Issued when exception was thrown and unhandled.

                                                                        #addListener(
                                                                        event: "Runtime.exceptionRevoked",
                                                                        ): this

                                                                        Issued when unhandled exception was revoked.

                                                                        #addListener(
                                                                        event: "Runtime.consoleAPICalled",
                                                                        ): this

                                                                        Issued when console API was called.

                                                                        #addListener(
                                                                        event: "Runtime.inspectRequested",
                                                                        ): this

                                                                        Issued when object should be inspected (for example, as a result of inspect() command line API call).

                                                                        #addListener(
                                                                        event: "Debugger.scriptParsed",
                                                                        ): this

                                                                        Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

                                                                        #addListener(
                                                                        event: "Debugger.scriptFailedToParse",
                                                                        ): this

                                                                        Fired when virtual machine fails to parse the script.

                                                                        #addListener(
                                                                        event: "Debugger.breakpointResolved",
                                                                        ): this

                                                                        Fired when breakpoint is resolved to an actual script and location.

                                                                        #addListener(
                                                                        event: "Debugger.paused",
                                                                        ): this

                                                                        Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

                                                                        #addListener(
                                                                        event: "Debugger.resumed",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Fired when the virtual machine resumed execution.

                                                                        #addListener(
                                                                        event: "Console.messageAdded",
                                                                        ): this

                                                                        Issued when new console message is added.

                                                                        #addListener(
                                                                        event: "Profiler.consoleProfileStarted",
                                                                        ): this

                                                                        Sent when new profile recording is started using console.profile() call.

                                                                        #addListener(
                                                                        event: "Profiler.consoleProfileFinished",
                                                                        ): this
                                                                        #addListener(
                                                                        event: "HeapProfiler.addHeapSnapshotChunk",
                                                                        ): this
                                                                        #addListener(
                                                                        event: "HeapProfiler.resetProfiles",
                                                                        listener: () => void,
                                                                        ): this
                                                                        #addListener(
                                                                        event: "HeapProfiler.reportHeapSnapshotProgress",
                                                                        ): this
                                                                        #addListener(
                                                                        event: "HeapProfiler.lastSeenObjectId",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

                                                                        #addListener(
                                                                        event: "HeapProfiler.heapStatsUpdate",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend may send update for one or more fragments

                                                                        #addListener(
                                                                        event: "NodeTracing.dataCollected",
                                                                        ): this

                                                                        Contains an bucket of collected trace events.

                                                                        #addListener(
                                                                        event: "NodeTracing.tracingComplete",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

                                                                        #addListener(
                                                                        event: "NodeWorker.attachedToWorker",
                                                                        ): this

                                                                        Issued when attached to a worker.

                                                                        #addListener(
                                                                        event: "NodeWorker.detachedFromWorker",
                                                                        ): this

                                                                        Issued when detached from the worker.

                                                                        #addListener(
                                                                        event: "NodeWorker.receivedMessageFromWorker",
                                                                        ): this

                                                                        Notifies about a new protocol message received from the session (session ID is provided in attachedToWorker notification).

                                                                        #addListener(
                                                                        event: "Network.requestWillBeSent",
                                                                        ): this

                                                                        Fired when page is about to send HTTP request.

                                                                        #addListener(
                                                                        event: "Network.responseReceived",
                                                                        ): this

                                                                        Fired when HTTP response is available.

                                                                        #addListener(
                                                                        event: "Network.loadingFailed",
                                                                        ): this
                                                                        #addListener(
                                                                        event: "Network.loadingFinished",
                                                                        ): this
                                                                        #addListener(
                                                                        event: "NodeRuntime.waitingForDisconnect",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired instead of Runtime.executionContextDestroyed when enabled. It is fired when the Node process finished all code execution and is waiting for all frontends to disconnect.

                                                                        #addListener(
                                                                        event: "NodeRuntime.waitingForDebugger",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired when the runtime is waiting for the debugger. For example, when inspector.waitingForDebugger is called

                                                                        #connect(): void

                                                                        Connects a session to the inspector back-end.

                                                                        Connects a session to the inspector back-end. An exception will be thrown if this API was not called on a Worker thread.

                                                                        #disconnect(): void

                                                                        Immediately close the session. All pending message callbacks will be called with an error. session.connect() will need to be called to be able to send messages again. Reconnected session will lose all inspector state, such as enabled agents or configured breakpoints.

                                                                        #emit(
                                                                        event: string | symbol,
                                                                        ...args: any[],
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "inspectorNotification",
                                                                        message: InspectorNotification<object>,
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Runtime.executionContextCreated",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Runtime.executionContextDestroyed",
                                                                        ): boolean
                                                                        #emit(event: "Runtime.executionContextsCleared"): boolean
                                                                        #emit(
                                                                        event: "Runtime.exceptionThrown",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Runtime.exceptionRevoked",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Runtime.consoleAPICalled",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Runtime.inspectRequested",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Debugger.scriptParsed",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Debugger.scriptFailedToParse",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Debugger.breakpointResolved",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Debugger.paused",
                                                                        ): boolean
                                                                        #emit(event: "Debugger.resumed"): boolean
                                                                        #emit(
                                                                        event: "Console.messageAdded",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Profiler.consoleProfileStarted",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Profiler.consoleProfileFinished",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "HeapProfiler.addHeapSnapshotChunk",
                                                                        ): boolean
                                                                        #emit(event: "HeapProfiler.resetProfiles"): boolean
                                                                        #emit(
                                                                        event: "HeapProfiler.reportHeapSnapshotProgress",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "HeapProfiler.lastSeenObjectId",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "HeapProfiler.heapStatsUpdate",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "NodeTracing.dataCollected",
                                                                        ): boolean
                                                                        #emit(event: "NodeTracing.tracingComplete"): boolean
                                                                        #emit(
                                                                        event: "NodeWorker.attachedToWorker",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "NodeWorker.detachedFromWorker",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "NodeWorker.receivedMessageFromWorker",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Network.requestWillBeSent",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Network.responseReceived",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Network.loadingFailed",
                                                                        ): boolean
                                                                        #emit(
                                                                        event: "Network.loadingFinished",
                                                                        ): boolean
                                                                        #emit(event: "NodeRuntime.waitingForDisconnect"): boolean
                                                                        #emit(event: "NodeRuntime.waitingForDebugger"): boolean
                                                                        #on(
                                                                        event: string,
                                                                        listener: (...args: any[]) => void,
                                                                        ): this
                                                                        #on(
                                                                        event: "inspectorNotification",
                                                                        listener: (message: InspectorNotification<object>) => void,
                                                                        ): this

                                                                        Emitted when any notification from the V8 Inspector is received.

                                                                        #on(
                                                                        event: "Runtime.executionContextCreated",
                                                                        ): this

                                                                        Issued when new execution context is created.

                                                                        #on(
                                                                        event: "Runtime.executionContextDestroyed",
                                                                        ): this

                                                                        Issued when execution context is destroyed.

                                                                        #on(
                                                                        event: "Runtime.executionContextsCleared",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Issued when all executionContexts were cleared in browser

                                                                        #on(
                                                                        event: "Runtime.exceptionThrown",
                                                                        ): this

                                                                        Issued when exception was thrown and unhandled.

                                                                        #on(
                                                                        event: "Runtime.exceptionRevoked",
                                                                        ): this

                                                                        Issued when unhandled exception was revoked.

                                                                        #on(
                                                                        event: "Runtime.consoleAPICalled",
                                                                        ): this

                                                                        Issued when console API was called.

                                                                        #on(
                                                                        event: "Runtime.inspectRequested",
                                                                        ): this

                                                                        Issued when object should be inspected (for example, as a result of inspect() command line API call).

                                                                        #on(
                                                                        event: "Debugger.scriptParsed",
                                                                        ): this

                                                                        Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

                                                                        #on(
                                                                        event: "Debugger.scriptFailedToParse",
                                                                        ): this

                                                                        Fired when virtual machine fails to parse the script.

                                                                        #on(
                                                                        event: "Debugger.breakpointResolved",
                                                                        ): this

                                                                        Fired when breakpoint is resolved to an actual script and location.

                                                                        #on(
                                                                        event: "Debugger.paused",
                                                                        ): this

                                                                        Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

                                                                        #on(
                                                                        event: "Debugger.resumed",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Fired when the virtual machine resumed execution.

                                                                        #on(
                                                                        event: "Console.messageAdded",
                                                                        ): this

                                                                        Issued when new console message is added.

                                                                        #on(
                                                                        event: "Profiler.consoleProfileStarted",
                                                                        ): this

                                                                        Sent when new profile recording is started using console.profile() call.

                                                                        #on(
                                                                        event: "Profiler.consoleProfileFinished",
                                                                        ): this
                                                                        #on(
                                                                        event: "HeapProfiler.addHeapSnapshotChunk",
                                                                        ): this
                                                                        #on(
                                                                        event: "HeapProfiler.resetProfiles",
                                                                        listener: () => void,
                                                                        ): this
                                                                        #on(
                                                                        event: "HeapProfiler.reportHeapSnapshotProgress",
                                                                        ): this
                                                                        #on(
                                                                        event: "HeapProfiler.lastSeenObjectId",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

                                                                        #on(
                                                                        event: "HeapProfiler.heapStatsUpdate",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend may send update for one or more fragments

                                                                        #on(
                                                                        event: "NodeTracing.dataCollected",
                                                                        ): this

                                                                        Contains an bucket of collected trace events.

                                                                        #on(
                                                                        event: "NodeTracing.tracingComplete",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

                                                                        #on(
                                                                        event: "NodeWorker.attachedToWorker",
                                                                        ): this

                                                                        Issued when attached to a worker.

                                                                        #on(
                                                                        event: "NodeWorker.detachedFromWorker",
                                                                        ): this

                                                                        Issued when detached from the worker.

                                                                        #on(
                                                                        event: "NodeWorker.receivedMessageFromWorker",
                                                                        ): this

                                                                        Notifies about a new protocol message received from the session (session ID is provided in attachedToWorker notification).

                                                                        #on(
                                                                        event: "Network.requestWillBeSent",
                                                                        ): this

                                                                        Fired when page is about to send HTTP request.

                                                                        #on(
                                                                        event: "Network.responseReceived",
                                                                        ): this

                                                                        Fired when HTTP response is available.

                                                                        #on(
                                                                        event: "Network.loadingFailed",
                                                                        ): this
                                                                        #on(
                                                                        event: "Network.loadingFinished",
                                                                        ): this
                                                                        #on(
                                                                        event: "NodeRuntime.waitingForDisconnect",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired instead of Runtime.executionContextDestroyed when enabled. It is fired when the Node process finished all code execution and is waiting for all frontends to disconnect.

                                                                        #on(
                                                                        event: "NodeRuntime.waitingForDebugger",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired when the runtime is waiting for the debugger. For example, when inspector.waitingForDebugger is called

                                                                        #once(
                                                                        event: string,
                                                                        listener: (...args: any[]) => void,
                                                                        ): this
                                                                        #once(
                                                                        event: "inspectorNotification",
                                                                        listener: (message: InspectorNotification<object>) => void,
                                                                        ): this

                                                                        Emitted when any notification from the V8 Inspector is received.

                                                                        #once(
                                                                        event: "Runtime.executionContextCreated",
                                                                        ): this

                                                                        Issued when new execution context is created.

                                                                        #once(
                                                                        event: "Runtime.executionContextDestroyed",
                                                                        ): this

                                                                        Issued when execution context is destroyed.

                                                                        #once(
                                                                        event: "Runtime.executionContextsCleared",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Issued when all executionContexts were cleared in browser

                                                                        #once(
                                                                        event: "Runtime.exceptionThrown",
                                                                        ): this

                                                                        Issued when exception was thrown and unhandled.

                                                                        #once(
                                                                        event: "Runtime.exceptionRevoked",
                                                                        ): this

                                                                        Issued when unhandled exception was revoked.

                                                                        #once(
                                                                        event: "Runtime.consoleAPICalled",
                                                                        ): this

                                                                        Issued when console API was called.

                                                                        #once(
                                                                        event: "Runtime.inspectRequested",
                                                                        ): this

                                                                        Issued when object should be inspected (for example, as a result of inspect() command line API call).

                                                                        #once(
                                                                        event: "Debugger.scriptParsed",
                                                                        ): this

                                                                        Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

                                                                        #once(
                                                                        event: "Debugger.scriptFailedToParse",
                                                                        ): this

                                                                        Fired when virtual machine fails to parse the script.

                                                                        #once(
                                                                        event: "Debugger.breakpointResolved",
                                                                        ): this

                                                                        Fired when breakpoint is resolved to an actual script and location.

                                                                        #once(
                                                                        event: "Debugger.paused",
                                                                        ): this

                                                                        Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

                                                                        #once(
                                                                        event: "Debugger.resumed",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Fired when the virtual machine resumed execution.

                                                                        #once(
                                                                        event: "Console.messageAdded",
                                                                        ): this

                                                                        Issued when new console message is added.

                                                                        #once(
                                                                        event: "Profiler.consoleProfileStarted",
                                                                        ): this

                                                                        Sent when new profile recording is started using console.profile() call.

                                                                        #once(
                                                                        event: "Profiler.consoleProfileFinished",
                                                                        ): this
                                                                        #once(
                                                                        event: "HeapProfiler.addHeapSnapshotChunk",
                                                                        ): this
                                                                        #once(
                                                                        event: "HeapProfiler.resetProfiles",
                                                                        listener: () => void,
                                                                        ): this
                                                                        #once(
                                                                        event: "HeapProfiler.reportHeapSnapshotProgress",
                                                                        ): this
                                                                        #once(
                                                                        event: "HeapProfiler.lastSeenObjectId",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

                                                                        #once(
                                                                        event: "HeapProfiler.heapStatsUpdate",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend may send update for one or more fragments

                                                                        #once(
                                                                        event: "NodeTracing.dataCollected",
                                                                        ): this

                                                                        Contains an bucket of collected trace events.

                                                                        #once(
                                                                        event: "NodeTracing.tracingComplete",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

                                                                        #once(
                                                                        event: "NodeWorker.attachedToWorker",
                                                                        ): this

                                                                        Issued when attached to a worker.

                                                                        #once(
                                                                        event: "NodeWorker.detachedFromWorker",
                                                                        ): this

                                                                        Issued when detached from the worker.

                                                                        #once(
                                                                        event: "NodeWorker.receivedMessageFromWorker",
                                                                        ): this

                                                                        Notifies about a new protocol message received from the session (session ID is provided in attachedToWorker notification).

                                                                        #once(
                                                                        event: "Network.requestWillBeSent",
                                                                        ): this

                                                                        Fired when page is about to send HTTP request.

                                                                        #once(
                                                                        event: "Network.responseReceived",
                                                                        ): this

                                                                        Fired when HTTP response is available.

                                                                        #once(
                                                                        event: "Network.loadingFailed",
                                                                        ): this
                                                                        #once(
                                                                        event: "Network.loadingFinished",
                                                                        ): this
                                                                        #once(
                                                                        event: "NodeRuntime.waitingForDisconnect",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired instead of Runtime.executionContextDestroyed when enabled. It is fired when the Node process finished all code execution and is waiting for all frontends to disconnect.

                                                                        #once(
                                                                        event: "NodeRuntime.waitingForDebugger",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired when the runtime is waiting for the debugger. For example, when inspector.waitingForDebugger is called

                                                                        #post(
                                                                        method: string,
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        params?: object,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Posts a message to the inspector back-end. callback will be notified when a response is received. callback is a function that accepts two optional arguments: error and message-specific result.

                                                                        session.post('Runtime.evaluate', { expression: '2 + 2' },
                                                                                     (error, { result }) => console.log(result));
                                                                        // Output: { type: 'number', value: 4, description: '4' }
                                                                        

                                                                        The latest version of the V8 inspector protocol is published on the Chrome DevTools Protocol Viewer.

                                                                        Node.js inspector supports all the Chrome DevTools Protocol domains declared by V8. Chrome DevTools Protocol domain provides an interface for interacting with one of the runtime agents used to inspect the application state and listen to the run-time events.

                                                                        #post(
                                                                        method: string,
                                                                        params?: object,
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        params?: object,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Schema.getDomains",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Returns supported domains.

                                                                        #post(
                                                                        method: "Runtime.evaluate",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Evaluates expression on global object.

                                                                        #post(
                                                                        method: "Runtime.evaluate",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.awaitPromise",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Add handler to promise with given promise object id.

                                                                        #post(
                                                                        method: "Runtime.awaitPromise",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.callFunctionOn",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Calls function with given declaration on the given object. Object group of the result is inherited from the target object.

                                                                        #post(
                                                                        method: "Runtime.callFunctionOn",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.getProperties",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Returns properties of a given object. Object group of the result is inherited from the target object.

                                                                        #post(
                                                                        method: "Runtime.getProperties",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.releaseObject",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Releases remote object with given id.

                                                                        #post(
                                                                        method: "Runtime.releaseObject",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.releaseObjectGroup",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Releases all remote objects that belong to a given group.

                                                                        #post(
                                                                        method: "Runtime.releaseObjectGroup",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.runIfWaitingForDebugger",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Tells inspected instance to run if it was waiting for debugger to attach.

                                                                        #post(
                                                                        method: "Runtime.enable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context.

                                                                        #post(
                                                                        method: "Runtime.disable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Disables reporting of execution contexts creation.

                                                                        #post(
                                                                        method: "Runtime.discardConsoleEntries",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Discards collected exceptions and console API calls.

                                                                        #post(
                                                                        method: "Runtime.setCustomObjectFormatterEnabled",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.setCustomObjectFormatterEnabled",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.compileScript",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Compiles expression.

                                                                        #post(
                                                                        method: "Runtime.compileScript",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.runScript",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Runs script with given id in a given context.

                                                                        #post(
                                                                        method: "Runtime.runScript",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.queryObjects",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.queryObjects",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Runtime.globalLexicalScopeNames",
                                                                        callback?: () => void,
                                                                        ): void

                                                                        Returns all let, const and class variables from global scope.

                                                                        #post(
                                                                        method: "Runtime.globalLexicalScopeNames",
                                                                        callback?: () => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.enable",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.

                                                                        #post(
                                                                        method: "Debugger.disable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Disables debugger for given page.

                                                                        #post(
                                                                        method: "Debugger.setBreakpointsActive",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Activates / deactivates all breakpoints on the page.

                                                                        #post(
                                                                        method: "Debugger.setBreakpointsActive",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setSkipAllPauses",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).

                                                                        #post(
                                                                        method: "Debugger.setSkipAllPauses",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setBreakpointByUrl",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads.

                                                                        #post(
                                                                        method: "Debugger.setBreakpointByUrl",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setBreakpoint",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Sets JavaScript breakpoint at a given location.

                                                                        #post(
                                                                        method: "Debugger.setBreakpoint",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.removeBreakpoint",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Removes JavaScript breakpoint.

                                                                        #post(
                                                                        method: "Debugger.removeBreakpoint",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.getPossibleBreakpoints",
                                                                        callback?: () => void,
                                                                        ): void

                                                                        Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.

                                                                        #post(
                                                                        method: "Debugger.getPossibleBreakpoints",
                                                                        callback?: () => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.continueToLocation",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Continues execution until specific location is reached.

                                                                        #post(
                                                                        method: "Debugger.continueToLocation",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.pauseOnAsyncCall",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.pauseOnAsyncCall",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.stepOver",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Steps over the statement.

                                                                        #post(
                                                                        method: "Debugger.stepInto",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Steps into the function call.

                                                                        #post(
                                                                        method: "Debugger.stepInto",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.stepOut",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Steps out of the function call.

                                                                        #post(
                                                                        method: "Debugger.pause",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Stops on the next JavaScript statement.

                                                                        #post(
                                                                        method: "Debugger.scheduleStepIntoAsync",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called.

                                                                        #post(
                                                                        method: "Debugger.resume",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Resumes JavaScript execution.

                                                                        #post(
                                                                        method: "Debugger.getStackTrace",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Returns stack trace with given stackTraceId.

                                                                        #post(
                                                                        method: "Debugger.getStackTrace",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.searchInContent",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Searches for given string in script content.

                                                                        #post(
                                                                        method: "Debugger.searchInContent",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setScriptSource",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Edits JavaScript source live.

                                                                        #post(
                                                                        method: "Debugger.setScriptSource",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.restartFrame",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Restarts particular call frame from the beginning.

                                                                        #post(
                                                                        method: "Debugger.restartFrame",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.getScriptSource",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Returns source for the script with given id.

                                                                        #post(
                                                                        method: "Debugger.getScriptSource",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setPauseOnExceptions",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none.

                                                                        #post(
                                                                        method: "Debugger.setPauseOnExceptions",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.evaluateOnCallFrame",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Evaluates expression on a given call frame.

                                                                        #post(
                                                                        method: "Debugger.evaluateOnCallFrame",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setVariableValue",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.

                                                                        #post(
                                                                        method: "Debugger.setVariableValue",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setReturnValue",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Changes return value in top frame. Available only at return break position.

                                                                        #post(
                                                                        method: "Debugger.setReturnValue",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setAsyncCallStackDepth",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Enables or disables async call stacks tracking.

                                                                        #post(
                                                                        method: "Debugger.setAsyncCallStackDepth",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setBlackboxPatterns",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.

                                                                        #post(
                                                                        method: "Debugger.setBlackboxPatterns",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Debugger.setBlackboxedRanges",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted.

                                                                        #post(
                                                                        method: "Debugger.setBlackboxedRanges",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Console.enable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification.

                                                                        #post(
                                                                        method: "Console.disable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Disables console domain, prevents further console messages from being reported to the client.

                                                                        #post(
                                                                        method: "Console.clearMessages",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Does nothing.

                                                                        #post(
                                                                        method: "Profiler.enable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Profiler.disable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Profiler.setSamplingInterval",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.

                                                                        #post(
                                                                        method: "Profiler.setSamplingInterval",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Profiler.start",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Profiler.stop",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "Profiler.startPreciseCoverage",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.

                                                                        #post(
                                                                        method: "Profiler.startPreciseCoverage",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Profiler.stopPreciseCoverage",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.

                                                                        #post(
                                                                        method: "Profiler.takePreciseCoverage",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.

                                                                        #post(
                                                                        method: "Profiler.getBestEffortCoverage",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.

                                                                        #post(
                                                                        method: "HeapProfiler.enable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.disable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.startTrackingHeapObjects",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.startTrackingHeapObjects",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.stopTrackingHeapObjects",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.stopTrackingHeapObjects",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.takeHeapSnapshot",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.takeHeapSnapshot",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.collectGarbage",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.getObjectByHeapObjectId",
                                                                        callback?: () => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.getObjectByHeapObjectId",
                                                                        callback?: () => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.addInspectedHeapObject",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).

                                                                        #post(
                                                                        method: "HeapProfiler.addInspectedHeapObject",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.getHeapObjectId",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.getHeapObjectId",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.startSampling",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.startSampling",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.stopSampling",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void
                                                                        #post(
                                                                        method: "HeapProfiler.getSamplingProfile",
                                                                        callback?: () => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "NodeTracing.getCategories",
                                                                        callback?: (
                                                                        err: Error | null,
                                                                        ) => void
                                                                        ,
                                                                        ): void

                                                                        Gets supported tracing categories.

                                                                        #post(
                                                                        method: "NodeTracing.start",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Start trace events collection.

                                                                        #post(
                                                                        method: "NodeTracing.start",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "NodeTracing.stop",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Stop trace events collection. Remaining collected events will be sent as a sequence of dataCollected events followed by tracingComplete event.

                                                                        #post(
                                                                        method: "NodeWorker.sendMessageToWorker",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Sends protocol message over session with given id.

                                                                        #post(
                                                                        method: "NodeWorker.sendMessageToWorker",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "NodeWorker.enable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Instructs the inspector to attach to running workers. Will also attach to new workers as they start

                                                                        #post(
                                                                        method: "NodeWorker.enable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "NodeWorker.disable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Detaches from all running workers and disables attaching to new workers as they are started.

                                                                        #post(
                                                                        method: "NodeWorker.detach",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Detached from the worker with given sessionId.

                                                                        #post(
                                                                        method: "NodeWorker.detach",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #post(
                                                                        method: "Network.disable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Disables network tracking, prevents network events from being sent to the client.

                                                                        #post(
                                                                        method: "Network.enable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Enables network tracking, network events will now be delivered to the client.

                                                                        #post(
                                                                        method: "NodeRuntime.enable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Enable the NodeRuntime events except by NodeRuntime.waitingForDisconnect.

                                                                        #post(
                                                                        method: "NodeRuntime.disable",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Disable NodeRuntime events

                                                                        #post(
                                                                        method: "NodeRuntime.notifyWhenWaitingForDisconnect",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void

                                                                        Enable the NodeRuntime.waitingForDisconnect.

                                                                        #post(
                                                                        method: "NodeRuntime.notifyWhenWaitingForDisconnect",
                                                                        callback?: (err: Error | null) => void,
                                                                        ): void
                                                                        #prependListener(
                                                                        event: string,
                                                                        listener: (...args: any[]) => void,
                                                                        ): this
                                                                        #prependListener(
                                                                        event: "inspectorNotification",
                                                                        listener: (message: InspectorNotification<object>) => void,
                                                                        ): this

                                                                        Emitted when any notification from the V8 Inspector is received.

                                                                        #prependListener(
                                                                        event: "Runtime.executionContextCreated",
                                                                        ): this

                                                                        Issued when new execution context is created.

                                                                        #prependListener(
                                                                        event: "Runtime.executionContextDestroyed",
                                                                        ): this

                                                                        Issued when execution context is destroyed.

                                                                        #prependListener(
                                                                        event: "Runtime.executionContextsCleared",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Issued when all executionContexts were cleared in browser

                                                                        #prependListener(
                                                                        event: "Runtime.exceptionThrown",
                                                                        ): this

                                                                        Issued when exception was thrown and unhandled.

                                                                        #prependListener(
                                                                        event: "Runtime.exceptionRevoked",
                                                                        ): this

                                                                        Issued when unhandled exception was revoked.

                                                                        #prependListener(
                                                                        event: "Runtime.consoleAPICalled",
                                                                        ): this

                                                                        Issued when console API was called.

                                                                        #prependListener(
                                                                        event: "Runtime.inspectRequested",
                                                                        ): this

                                                                        Issued when object should be inspected (for example, as a result of inspect() command line API call).

                                                                        #prependListener(
                                                                        event: "Debugger.scriptParsed",
                                                                        ): this

                                                                        Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

                                                                        #prependListener(
                                                                        event: "Debugger.scriptFailedToParse",
                                                                        ): this

                                                                        Fired when virtual machine fails to parse the script.

                                                                        #prependListener(
                                                                        event: "Debugger.breakpointResolved",
                                                                        ): this

                                                                        Fired when breakpoint is resolved to an actual script and location.

                                                                        #prependListener(
                                                                        event: "Debugger.paused",
                                                                        ): this

                                                                        Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

                                                                        #prependListener(
                                                                        event: "Debugger.resumed",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Fired when the virtual machine resumed execution.

                                                                        #prependListener(
                                                                        event: "Console.messageAdded",
                                                                        ): this

                                                                        Issued when new console message is added.

                                                                        #prependListener(
                                                                        event: "Profiler.consoleProfileStarted",
                                                                        ): this

                                                                        Sent when new profile recording is started using console.profile() call.

                                                                        #prependListener(
                                                                        event: "Profiler.consoleProfileFinished",
                                                                        ): this
                                                                        #prependListener(
                                                                        event: "HeapProfiler.addHeapSnapshotChunk",
                                                                        ): this
                                                                        #prependListener(
                                                                        event: "HeapProfiler.resetProfiles",
                                                                        listener: () => void,
                                                                        ): this
                                                                        #prependListener(
                                                                        event: "HeapProfiler.reportHeapSnapshotProgress",
                                                                        ): this
                                                                        #prependListener(
                                                                        event: "HeapProfiler.lastSeenObjectId",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

                                                                        #prependListener(
                                                                        event: "HeapProfiler.heapStatsUpdate",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend may send update for one or more fragments

                                                                        #prependListener(
                                                                        event: "NodeTracing.dataCollected",
                                                                        ): this

                                                                        Contains an bucket of collected trace events.

                                                                        #prependListener(
                                                                        event: "NodeTracing.tracingComplete",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

                                                                        #prependListener(
                                                                        event: "NodeWorker.attachedToWorker",
                                                                        ): this

                                                                        Issued when attached to a worker.

                                                                        #prependListener(
                                                                        event: "NodeWorker.detachedFromWorker",
                                                                        ): this

                                                                        Issued when detached from the worker.

                                                                        #prependListener(
                                                                        event: "NodeWorker.receivedMessageFromWorker",
                                                                        ): this

                                                                        Notifies about a new protocol message received from the session (session ID is provided in attachedToWorker notification).

                                                                        #prependListener(
                                                                        event: "Network.requestWillBeSent",
                                                                        ): this

                                                                        Fired when page is about to send HTTP request.

                                                                        #prependListener(
                                                                        event: "Network.responseReceived",
                                                                        ): this

                                                                        Fired when HTTP response is available.

                                                                        #prependListener(
                                                                        event: "Network.loadingFailed",
                                                                        ): this
                                                                        #prependListener(
                                                                        event: "Network.loadingFinished",
                                                                        ): this
                                                                        #prependListener(
                                                                        event: "NodeRuntime.waitingForDisconnect",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired instead of Runtime.executionContextDestroyed when enabled. It is fired when the Node process finished all code execution and is waiting for all frontends to disconnect.

                                                                        #prependListener(
                                                                        event: "NodeRuntime.waitingForDebugger",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired when the runtime is waiting for the debugger. For example, when inspector.waitingForDebugger is called

                                                                        #prependOnceListener(
                                                                        event: string,
                                                                        listener: (...args: any[]) => void,
                                                                        ): this
                                                                        #prependOnceListener(
                                                                        event: "inspectorNotification",
                                                                        listener: (message: InspectorNotification<object>) => void,
                                                                        ): this

                                                                        Emitted when any notification from the V8 Inspector is received.

                                                                        #prependOnceListener(
                                                                        event: "Runtime.executionContextCreated",
                                                                        ): this

                                                                        Issued when new execution context is created.

                                                                        #prependOnceListener(
                                                                        event: "Runtime.executionContextDestroyed",
                                                                        ): this

                                                                        Issued when execution context is destroyed.

                                                                        #prependOnceListener(
                                                                        event: "Runtime.executionContextsCleared",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Issued when all executionContexts were cleared in browser

                                                                        #prependOnceListener(
                                                                        event: "Runtime.exceptionThrown",
                                                                        ): this

                                                                        Issued when exception was thrown and unhandled.

                                                                        #prependOnceListener(
                                                                        event: "Runtime.exceptionRevoked",
                                                                        ): this

                                                                        Issued when unhandled exception was revoked.

                                                                        #prependOnceListener(
                                                                        event: "Runtime.consoleAPICalled",
                                                                        ): this

                                                                        Issued when console API was called.

                                                                        #prependOnceListener(
                                                                        event: "Runtime.inspectRequested",
                                                                        ): this

                                                                        Issued when object should be inspected (for example, as a result of inspect() command line API call).

                                                                        #prependOnceListener(
                                                                        event: "Debugger.scriptParsed",
                                                                        ): this

                                                                        Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

                                                                        #prependOnceListener(
                                                                        event: "Debugger.scriptFailedToParse",
                                                                        ): this

                                                                        Fired when virtual machine fails to parse the script.

                                                                        #prependOnceListener(
                                                                        event: "Debugger.breakpointResolved",
                                                                        ): this

                                                                        Fired when breakpoint is resolved to an actual script and location.

                                                                        #prependOnceListener(
                                                                        event: "Debugger.paused",
                                                                        ): this

                                                                        Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

                                                                        #prependOnceListener(
                                                                        event: "Debugger.resumed",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Fired when the virtual machine resumed execution.

                                                                        #prependOnceListener(
                                                                        event: "Console.messageAdded",
                                                                        ): this

                                                                        Issued when new console message is added.

                                                                        #prependOnceListener(
                                                                        event: "Profiler.consoleProfileStarted",
                                                                        ): this

                                                                        Sent when new profile recording is started using console.profile() call.

                                                                        #prependOnceListener(
                                                                        event: "Profiler.consoleProfileFinished",
                                                                        ): this
                                                                        #prependOnceListener(
                                                                        event: "HeapProfiler.addHeapSnapshotChunk",
                                                                        ): this
                                                                        #prependOnceListener(
                                                                        event: "HeapProfiler.resetProfiles",
                                                                        listener: () => void,
                                                                        ): this
                                                                        #prependOnceListener(
                                                                        event: "HeapProfiler.reportHeapSnapshotProgress",
                                                                        ): this
                                                                        #prependOnceListener(
                                                                        event: "HeapProfiler.lastSeenObjectId",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

                                                                        #prependOnceListener(
                                                                        event: "HeapProfiler.heapStatsUpdate",
                                                                        ): this

                                                                        If heap objects tracking has been started then backend may send update for one or more fragments

                                                                        #prependOnceListener(
                                                                        event: "NodeTracing.dataCollected",
                                                                        ): this

                                                                        Contains an bucket of collected trace events.

                                                                        #prependOnceListener(
                                                                        event: "NodeTracing.tracingComplete",
                                                                        listener: () => void,
                                                                        ): this

                                                                        Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

                                                                        #prependOnceListener(
                                                                        event: "NodeWorker.attachedToWorker",
                                                                        ): this

                                                                        Issued when attached to a worker.

                                                                        #prependOnceListener(
                                                                        event: "NodeWorker.detachedFromWorker",
                                                                        ): this

                                                                        Issued when detached from the worker.

                                                                        #prependOnceListener(
                                                                        event: "NodeWorker.receivedMessageFromWorker",
                                                                        ): this

                                                                        Notifies about a new protocol message received from the session (session ID is provided in attachedToWorker notification).

                                                                        #prependOnceListener(
                                                                        event: "Network.requestWillBeSent",
                                                                        ): this

                                                                        Fired when page is about to send HTTP request.

                                                                        #prependOnceListener(
                                                                        event: "Network.responseReceived",
                                                                        ): this

                                                                        Fired when HTTP response is available.

                                                                        #prependOnceListener(
                                                                        event: "Network.loadingFailed",
                                                                        ): this
                                                                        #prependOnceListener(
                                                                        event: "Network.loadingFinished",
                                                                        ): this
                                                                        #prependOnceListener(
                                                                        event: "NodeRuntime.waitingForDisconnect",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired instead of Runtime.executionContextDestroyed when enabled. It is fired when the Node process finished all code execution and is waiting for all frontends to disconnect.

                                                                        #prependOnceListener(
                                                                        event: "NodeRuntime.waitingForDebugger",
                                                                        listener: () => void,
                                                                        ): this

                                                                        This event is fired when the runtime is waiting for the debugger. For example, when inspector.waitingForDebugger is called


                                                                        function close

                                                                        Usage in Deno

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

                                                                        Deactivate the inspector. Blocks until there are no active connections.

                                                                        Return Type #

                                                                        void

                                                                        function Network.loadingFailed

                                                                        unstable

                                                                        Usage in Deno

                                                                        import { Network } from "node:inspector";
                                                                        
                                                                        #loadingFailed(params: LoadingFailedEventDataType): void

                                                                        This feature is only available with the --experimental-network-inspection flag enabled.

                                                                        Broadcasts the Network.loadingFailed event to connected frontends. This event indicates that HTTP request has failed to load.

                                                                        Parameters #

                                                                        Return Type #

                                                                        void

                                                                        function Network.loadingFinished

                                                                        unstable

                                                                        Usage in Deno

                                                                        import { Network } from "node:inspector";
                                                                        
                                                                        #loadingFinished(params: LoadingFinishedEventDataType): void

                                                                        This feature is only available with the --experimental-network-inspection flag enabled.

                                                                        Broadcasts the Network.loadingFinished event to connected frontends. This event indicates that HTTP request has finished loading.

                                                                        Parameters #

                                                                        Return Type #

                                                                        void

                                                                        function Network.requestWillBeSent

                                                                        unstable

                                                                        Usage in Deno

                                                                        import { Network } from "node:inspector";
                                                                        
                                                                        #requestWillBeSent(params: RequestWillBeSentEventDataType): void

                                                                        This feature is only available with the --experimental-network-inspection flag enabled.

                                                                        Broadcasts the Network.requestWillBeSent event to connected frontends. This event indicates that the application is about to send an HTTP request.

                                                                        Parameters #

                                                                        Return Type #

                                                                        void

                                                                        function Network.responseReceived

                                                                        unstable

                                                                        Usage in Deno

                                                                        import { Network } from "node:inspector";
                                                                        
                                                                        #responseReceived(params: ResponseReceivedEventDataType): void

                                                                        This feature is only available with the --experimental-network-inspection flag enabled.

                                                                        Broadcasts the Network.responseReceived event to connected frontends. This event indicates that HTTP response is available.

                                                                        Parameters #

                                                                        Return Type #

                                                                        void

                                                                        function open

                                                                        Usage in Deno

                                                                        import { open } from "node:inspector";
                                                                        
                                                                        #open(
                                                                        port?: number,
                                                                        host?: string,
                                                                        wait?: boolean,
                                                                        ): Disposable

                                                                        Activate inspector on host and port. Equivalent to node --inspect=[[host:]port], but can be done programmatically after node has started.

                                                                        If wait is true, will block until a client has connected to the inspect port and flow control has been passed to the debugger client.

                                                                        See the security warning regarding the host parameter usage.

                                                                        Parameters #

                                                                        #port: number
                                                                        optional

                                                                        Port to listen on for inspector connections. Defaults to what was specified on the CLI.

                                                                        #host: string
                                                                        optional

                                                                        Host to listen on for inspector connections. Defaults to what was specified on the CLI.

                                                                        #wait: boolean
                                                                        optional

                                                                        Block until a client has connected. Defaults to what was specified on the CLI.

                                                                        Return Type #

                                                                        Disposable

                                                                        Disposable that calls inspector.close().


                                                                        function url

                                                                        Usage in Deno

                                                                        import { url } from "node:inspector";
                                                                        
                                                                        #url(): string | undefined

                                                                        Return the URL of the active inspector, or undefined if there is none.

                                                                        $ node --inspect -p 'inspector.url()'
                                                                        Debugger listening on ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34
                                                                        For help, see: https://nodejs.org/en/docs/inspector
                                                                        ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34
                                                                        
                                                                        $ node --inspect=localhost:3000 -p 'inspector.url()'
                                                                        Debugger listening on ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a
                                                                        For help, see: https://nodejs.org/en/docs/inspector
                                                                        ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a
                                                                        
                                                                        $ node -p 'inspector.url()'
                                                                        undefined
                                                                        

                                                                        Return Type #

                                                                        string | undefined

                                                                        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

                                                                        interface Console.ConsoleMessage

                                                                        Usage in Deno

                                                                        import { Console } from "node:inspector";
                                                                        

                                                                        Console message.

                                                                        Properties #

                                                                        #source: string

                                                                        Message source.

                                                                        #level: string

                                                                        Message severity.

                                                                        #text: string

                                                                        Message text.

                                                                        #url: string | undefined
                                                                        optional

                                                                        URL of the message origin.

                                                                        #line: number | undefined
                                                                        optional

                                                                        Line number in the resource that generated this message (1-based).

                                                                        #column: number | undefined
                                                                        optional

                                                                        Column number in the resource that generated this message (1-based).





                                                                        interface Debugger.CallFrame

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        JavaScript call frame. Array of call frames form the call stack.

                                                                        Properties #

                                                                        Call frame identifier. This identifier is only valid while the virtual machine is paused.

                                                                        #functionName: string

                                                                        Name of the JavaScript function called on this call frame.

                                                                        #functionLocation: Location | undefined
                                                                        optional

                                                                        Location in the source code.

                                                                        Location in the source code.

                                                                        #url: string

                                                                        JavaScript script name or url.

                                                                        Scope chain for this call frame.

                                                                        this object for this call frame.

                                                                        #returnValue: Runtime.RemoteObject | undefined
                                                                        optional

                                                                        The value being returned, if the function is at return point.




                                                                        interface Debugger.EvaluateOnCallFrameParameterType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Call frame identifier to evaluate on.

                                                                        #expression: string

                                                                        Expression to evaluate.

                                                                        #objectGroup: string | undefined
                                                                        optional

                                                                        String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup).

                                                                        #includeCommandLineAPI: boolean | undefined
                                                                        optional

                                                                        Specifies whether command line API should be available to the evaluated expression, defaults to false.

                                                                        #silent: boolean | undefined
                                                                        optional

                                                                        In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.

                                                                        #returnByValue: boolean | undefined
                                                                        optional

                                                                        Whether the result is expected to be a JSON object that should be sent by value.

                                                                        #generatePreview: boolean | undefined
                                                                        optional

                                                                        Whether preview should be generated for the result.

                                                                        #throwOnSideEffect: boolean | undefined
                                                                        optional

                                                                        Whether to throw an exception if side effect cannot be ruled out during evaluation.



                                                                        interface Debugger.GetPossibleBreakpointsParameterType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Start of range to search possible breakpoint locations in.

                                                                        #end: Location | undefined
                                                                        optional

                                                                        End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range.

                                                                        #restrictToFunction: boolean | undefined
                                                                        optional

                                                                        Only consider locations which are in the same (non-nested) function as start.







                                                                        interface Debugger.Location

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Location in the source code.

                                                                        Properties #

                                                                        Script identifier as reported in the Debugger.scriptParsed.

                                                                        #lineNumber: number

                                                                        Line number in the script (0-based).

                                                                        #columnNumber: number | undefined
                                                                        optional

                                                                        Column number in the script (0-based).


                                                                        interface Debugger.PausedEventDataType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Call stack the virtual machine stopped on.

                                                                        #reason: string

                                                                        Pause reason.

                                                                        #data: { } | undefined
                                                                        optional

                                                                        Object containing break-specific auxiliary properties.

                                                                        #hitBreakpoints: string[] | undefined
                                                                        optional

                                                                        Hit breakpoints IDs

                                                                        #asyncStackTrace: Runtime.StackTrace | undefined
                                                                        optional

                                                                        Async stack trace, if any.

                                                                        Async stack trace, if any.

                                                                        Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto call with breakOnAsynCall flag.






                                                                        interface Debugger.Scope

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Scope description.

                                                                        Properties #

                                                                        #type: string

                                                                        Scope type.

                                                                        Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.

                                                                        #name: string | undefined
                                                                        optional
                                                                        #startLocation: Location | undefined
                                                                        optional

                                                                        Location in the source code where scope starts

                                                                        #endLocation: Location | undefined
                                                                        optional

                                                                        Location in the source code where scope ends


                                                                        interface Debugger.ScriptFailedToParseEventDataType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Identifier of the script parsed.

                                                                        #url: string

                                                                        URL or name of the script parsed (if any).

                                                                        #startLine: number

                                                                        Line offset of the script within the resource with given URL (for script tags).

                                                                        #startColumn: number

                                                                        Column offset of the script within the resource with given URL.

                                                                        #endLine: number

                                                                        Last line of the script.

                                                                        #endColumn: number

                                                                        Length of the last line of the script.

                                                                        Specifies script creation context.

                                                                        #hash: string

                                                                        Content hash of the script.

                                                                        #executionContextAuxData: { } | undefined
                                                                        optional

                                                                        Embedder-specific auxiliary data.

                                                                        #sourceMapURL: string | undefined
                                                                        optional

                                                                        URL of source map associated with script (if any).

                                                                        #hasSourceURL: boolean | undefined
                                                                        optional

                                                                        True, if this script has sourceURL.

                                                                        #isModule: boolean | undefined
                                                                        optional

                                                                        True, if this script is ES6 module.

                                                                        #length: number | undefined
                                                                        optional

                                                                        This script length.

                                                                        #stackTrace: Runtime.StackTrace | undefined
                                                                        optional

                                                                        JavaScript top stack frame of where the script parsed event was triggered if available.


                                                                        interface Debugger.ScriptParsedEventDataType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Identifier of the script parsed.

                                                                        #url: string

                                                                        URL or name of the script parsed (if any).

                                                                        #startLine: number

                                                                        Line offset of the script within the resource with given URL (for script tags).

                                                                        #startColumn: number

                                                                        Column offset of the script within the resource with given URL.

                                                                        #endLine: number

                                                                        Last line of the script.

                                                                        #endColumn: number

                                                                        Length of the last line of the script.

                                                                        Specifies script creation context.

                                                                        #hash: string

                                                                        Content hash of the script.

                                                                        #executionContextAuxData: { } | undefined
                                                                        optional

                                                                        Embedder-specific auxiliary data.

                                                                        #isLiveEdit: boolean | undefined
                                                                        optional

                                                                        True, if this script is generated as a result of the live edit operation.

                                                                        #sourceMapURL: string | undefined
                                                                        optional

                                                                        URL of source map associated with script (if any).

                                                                        #hasSourceURL: boolean | undefined
                                                                        optional

                                                                        True, if this script has sourceURL.

                                                                        #isModule: boolean | undefined
                                                                        optional

                                                                        True, if this script is ES6 module.

                                                                        #length: number | undefined
                                                                        optional

                                                                        This script length.

                                                                        #stackTrace: Runtime.StackTrace | undefined
                                                                        optional

                                                                        JavaScript top stack frame of where the script parsed event was triggered if available.





                                                                        interface Debugger.SearchMatch

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Search match for resource.

                                                                        Properties #

                                                                        #lineNumber: number

                                                                        Line number in resource content.

                                                                        #lineContent: string

                                                                        Line with match content.





                                                                        interface Debugger.SetBreakpointByUrlParameterType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        #lineNumber: number

                                                                        Line number to set breakpoint at.

                                                                        #url: string | undefined
                                                                        optional

                                                                        URL of the resources to set breakpoint on.

                                                                        #urlRegex: string | undefined
                                                                        optional

                                                                        Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified.

                                                                        #scriptHash: string | undefined
                                                                        optional

                                                                        Script hash of the resources to set breakpoint on.

                                                                        #columnNumber: number | undefined
                                                                        optional

                                                                        Offset in the line to set breakpoint at.

                                                                        #condition: string | undefined
                                                                        optional

                                                                        Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.



                                                                        interface Debugger.SetBreakpointParameterType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Location to set breakpoint in.

                                                                        #condition: string | undefined
                                                                        optional

                                                                        Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.







                                                                        interface Debugger.SetScriptSourceReturnType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        #callFrames: CallFrame[] | undefined
                                                                        optional

                                                                        New stack trace in case editing has happened while VM was stopped.

                                                                        #stackChanged: boolean | undefined
                                                                        optional

                                                                        Whether current call stack was modified after applying the changes.

                                                                        #asyncStackTrace: Runtime.StackTrace | undefined
                                                                        optional

                                                                        Async stack trace, if any.

                                                                        Async stack trace, if any.

                                                                        Exception details if any.




                                                                        interface Debugger.StepIntoParameterType

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        #breakOnAsyncCall: boolean | undefined
                                                                        optional

                                                                        Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause.









                                                                        interface HeapProfiler.HeapStatsUpdateEventDataType

                                                                        Usage in Deno

                                                                        import { HeapProfiler } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        #statsUpdate: number[]

                                                                        An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.











                                                                        interface InspectorConsole

                                                                        Usage in Deno

                                                                        import { type InspectorConsole } from "node:inspector";
                                                                        

                                                                        Methods #

                                                                        #debug(...data: any[]): void
                                                                        #error(...data: any[]): void
                                                                        #info(...data: any[]): void
                                                                        #log(...data: any[]): void
                                                                        #warn(...data: any[]): void
                                                                        #dir(...data: any[]): void
                                                                        #dirxml(...data: any[]): void
                                                                        #table(...data: any[]): void
                                                                        #trace(...data: any[]): void
                                                                        #group(...data: any[]): void
                                                                        #groupCollapsed(...data: any[]): void
                                                                        #groupEnd(...data: any[]): void
                                                                        #clear(...data: any[]): void
                                                                        #count(label?: any): void
                                                                        #countReset(label?: any): void
                                                                        #assert(
                                                                        value?: any,
                                                                        ...data: any[],
                                                                        ): void
                                                                        #profile(label?: any): void
                                                                        #profileEnd(label?: any): void
                                                                        #time(label?: any): void
                                                                        #timeLog(label?: any): void
                                                                        #timeStamp(label?: any): void


                                                                        interface Network.Headers

                                                                        Usage in Deno

                                                                        import { Network } from "node:inspector";
                                                                        

                                                                        Request / response headers as keys / values of JSON object.






















                                                                        interface Profiler.CoverageRange

                                                                        Usage in Deno

                                                                        import { Profiler } from "node:inspector";
                                                                        

                                                                        Coverage data for a source range.

                                                                        Properties #

                                                                        #startOffset: number

                                                                        JavaScript script source offset for the range start.

                                                                        #endOffset: number

                                                                        JavaScript script source offset for the range end.

                                                                        #count: number

                                                                        Collected execution count of the source range.




                                                                        interface Profiler.PositionTickInfo

                                                                        Usage in Deno

                                                                        import { Profiler } from "node:inspector";
                                                                        

                                                                        Specifies a number of samples attributed to a certain source position.

                                                                        Properties #

                                                                        #line: number

                                                                        Source line number (1-based).

                                                                        #ticks: number

                                                                        Number of samples attributed to the source line.


                                                                        interface Profiler.Profile

                                                                        Usage in Deno

                                                                        import { Profiler } from "node:inspector";
                                                                        

                                                                        Profile.

                                                                        Properties #

                                                                        The list of profile nodes. First item is the root node.

                                                                        #startTime: number

                                                                        Profiling start timestamp in microseconds.

                                                                        #endTime: number

                                                                        Profiling end timestamp in microseconds.

                                                                        #samples: number[] | undefined
                                                                        optional

                                                                        Ids of samples top nodes.

                                                                        #timeDeltas: number[] | undefined
                                                                        optional

                                                                        Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.


                                                                        interface Profiler.ProfileNode

                                                                        Usage in Deno

                                                                        import { Profiler } from "node:inspector";
                                                                        

                                                                        Profile node. Holds callsite information, execution statistics and child nodes.

                                                                        Properties #

                                                                        #id: number

                                                                        Unique id of the node.

                                                                        Function location.

                                                                        #hitCount: number | undefined
                                                                        optional

                                                                        Number of samples where this node was on top of the call stack.

                                                                        #children: number[] | undefined
                                                                        optional

                                                                        Child node ids.

                                                                        #deoptReason: string | undefined
                                                                        optional

                                                                        The reason of being not optimized. The function may be deoptimized or marked as don't optimize.

                                                                        #positionTicks: PositionTickInfo[] | undefined
                                                                        optional

                                                                        An array of source position ticks.









                                                                        interface Runtime.CallArgument

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified.

                                                                        Properties #

                                                                        #value: any
                                                                        optional

                                                                        Primitive value or serializable javascript object.

                                                                        Primitive value which can not be JSON-stringified.

                                                                        #objectId: RemoteObjectId | undefined
                                                                        optional

                                                                        Remote object handle.


                                                                        interface Runtime.CallFrame

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Stack entry for runtime errors and assertions.

                                                                        Properties #

                                                                        #functionName: string

                                                                        JavaScript function name.

                                                                        JavaScript script id.

                                                                        #url: string

                                                                        JavaScript script name or url.

                                                                        #lineNumber: number

                                                                        JavaScript script line number (0-based).

                                                                        #columnNumber: number

                                                                        JavaScript script column number (0-based).


                                                                        interface Runtime.CallFunctionOnParameterType

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Declaration of the function to call.

                                                                        #objectId: RemoteObjectId | undefined
                                                                        optional

                                                                        Identifier of the object to call function on. Either objectId or executionContextId should be specified.

                                                                        #arguments: CallArgument[] | undefined
                                                                        optional

                                                                        Call arguments. All call arguments must belong to the same JavaScript world as the target object.

                                                                        #silent: boolean | undefined
                                                                        optional

                                                                        In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.

                                                                        #returnByValue: boolean | undefined
                                                                        optional

                                                                        Whether the result is expected to be a JSON object which should be sent by value.

                                                                        #generatePreview: boolean | undefined
                                                                        optional

                                                                        Whether preview should be generated for the result.

                                                                        #userGesture: boolean | undefined
                                                                        optional

                                                                        Whether execution should be treated as initiated by user in the UI.

                                                                        #awaitPromise: boolean | undefined
                                                                        optional

                                                                        Whether execution should await for resulting value and return once awaited promise is resolved.

                                                                        Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.

                                                                        #objectGroup: string | undefined
                                                                        optional

                                                                        Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object.



                                                                        interface Runtime.CompileScriptParameterType

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        #expression: string

                                                                        Expression to compile.

                                                                        #sourceURL: string

                                                                        Source url to be set for the script.

                                                                        #persistScript: boolean

                                                                        Specifies whether the compiled script should be persisted.

                                                                        Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.



                                                                        interface Runtime.ConsoleAPICalledEventDataType

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        #type: string

                                                                        Type of the call.

                                                                        Call arguments.

                                                                        Identifier of the context where the call was made.

                                                                        Call timestamp.

                                                                        #stackTrace: StackTrace | undefined
                                                                        optional

                                                                        Stack trace captured when the call was made.

                                                                        #context: string | undefined
                                                                        optional

                                                                        Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.




                                                                        interface Runtime.EvaluateParameterType

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        #expression: string

                                                                        Expression to evaluate.

                                                                        #objectGroup: string | undefined
                                                                        optional

                                                                        Symbolic group name that can be used to release multiple objects.

                                                                        #includeCommandLineAPI: boolean | undefined
                                                                        optional

                                                                        Determines whether Command Line API should be available during the evaluation.

                                                                        #silent: boolean | undefined
                                                                        optional

                                                                        In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.

                                                                        #contextId: ExecutionContextId | undefined
                                                                        optional

                                                                        Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page.

                                                                        #returnByValue: boolean | undefined
                                                                        optional

                                                                        Whether the result is expected to be a JSON object that should be sent by value.

                                                                        #generatePreview: boolean | undefined
                                                                        optional

                                                                        Whether preview should be generated for the result.

                                                                        #userGesture: boolean | undefined
                                                                        optional

                                                                        Whether execution should be treated as initiated by user in the UI.

                                                                        #awaitPromise: boolean | undefined
                                                                        optional

                                                                        Whether execution should await for resulting value and return once awaited promise is resolved.



                                                                        interface Runtime.ExceptionDetails

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Detailed information about exception (or error) that was thrown during script compilation or execution.

                                                                        Properties #

                                                                        #exceptionId: number

                                                                        Exception id.

                                                                        #text: string

                                                                        Exception text, which should be used together with exception object when available.

                                                                        #lineNumber: number

                                                                        Line number of the exception location (0-based).

                                                                        #columnNumber: number

                                                                        Column number of the exception location (0-based).

                                                                        #scriptId: ScriptId | undefined
                                                                        optional

                                                                        Script ID of the exception location.

                                                                        #url: string | undefined
                                                                        optional

                                                                        URL of the exception location, to be used when the script was not reported.

                                                                        #stackTrace: StackTrace | undefined
                                                                        optional

                                                                        JavaScript stack trace if available.

                                                                        #exception: RemoteObject | undefined
                                                                        optional

                                                                        Exception object if available.

                                                                        Identifier of the context where exception happened.





                                                                        interface Runtime.ExecutionContextDescription

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Description of an isolated world.

                                                                        Properties #

                                                                        Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.

                                                                        #origin: string

                                                                        Execution context origin.

                                                                        #name: string

                                                                        Human readable name describing given context.

                                                                        #auxData: { } | undefined
                                                                        optional

                                                                        Embedder-specific auxiliary data.



                                                                        interface Runtime.GetPropertiesParameterType

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Identifier of the object to return properties for.

                                                                        #ownProperties: boolean | undefined
                                                                        optional

                                                                        If true, returns properties belonging only to the element itself, not to its prototype chain.

                                                                        #accessorPropertiesOnly: boolean | undefined
                                                                        optional

                                                                        If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.

                                                                        #generatePreview: boolean | undefined
                                                                        optional

                                                                        Whether preview should be generated for the results.






                                                                        interface Runtime.InternalPropertyDescriptor

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Object internal property descriptor. This property isn't normally visible in JavaScript code.

                                                                        Properties #

                                                                        #name: string

                                                                        Conventional property name.

                                                                        #value: RemoteObject | undefined
                                                                        optional

                                                                        The value associated with the property.


                                                                        interface Runtime.ObjectPreview

                                                                        unstable

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Object containing abbreviated remote object value.

                                                                        Properties #

                                                                        #type: string

                                                                        Object type.

                                                                        #subtype: string | undefined
                                                                        optional

                                                                        Object subtype hint. Specified for object type values only.

                                                                        #description: string | undefined
                                                                        optional

                                                                        String representation of the object.

                                                                        #overflow: boolean

                                                                        True iff some of the properties or entries of the original object did not fit.

                                                                        List of the properties.

                                                                        #entries: EntryPreview[] | undefined
                                                                        optional

                                                                        List of the entries. Specified for map and set subtype values only.


                                                                        interface Runtime.PropertyDescriptor

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Object property descriptor.

                                                                        Properties #

                                                                        #name: string

                                                                        Property name or symbol description.

                                                                        #value: RemoteObject | undefined
                                                                        optional

                                                                        The value associated with the property.

                                                                        #writable: boolean | undefined
                                                                        optional

                                                                        True if the value associated with the property may be changed (data descriptors only).

                                                                        #get: RemoteObject | undefined
                                                                        optional

                                                                        A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only).

                                                                        #set: RemoteObject | undefined
                                                                        optional

                                                                        A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only).

                                                                        #configurable: boolean

                                                                        True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.

                                                                        #enumerable: boolean

                                                                        True if this property shows up during enumeration of the properties on the corresponding object.

                                                                        #wasThrown: boolean | undefined
                                                                        optional

                                                                        True if the result was thrown during the evaluation.

                                                                        #isOwn: boolean | undefined
                                                                        optional

                                                                        True if the property is owned for the object.

                                                                        #symbol: RemoteObject | undefined
                                                                        optional

                                                                        Property symbol object, if the property is of the symbol type.


                                                                        interface Runtime.PropertyPreview

                                                                        unstable

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        #name: string

                                                                        Property name.

                                                                        #type: string

                                                                        Object type. Accessor means that the property itself is an accessor property.

                                                                        #value: string | undefined
                                                                        optional

                                                                        User-friendly property value string.

                                                                        #valuePreview: ObjectPreview | undefined
                                                                        optional

                                                                        Nested value preview.

                                                                        #subtype: string | undefined
                                                                        optional

                                                                        Object subtype hint. Specified for object type values only.






                                                                        interface Runtime.RemoteObject

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Mirror object referencing original JavaScript object.

                                                                        Properties #

                                                                        #type: string

                                                                        Object type.

                                                                        #subtype: string | undefined
                                                                        optional

                                                                        Object subtype hint. Specified for object type values only.

                                                                        #className: string | undefined
                                                                        optional

                                                                        Object class (constructor) name. Specified for object type values only.

                                                                        #value: any
                                                                        optional

                                                                        Remote object value in case of primitive values or JSON values (if it was requested).

                                                                        Primitive value which can not be JSON-stringified does not have value, but gets this property.

                                                                        #description: string | undefined
                                                                        optional

                                                                        String representation of the object.

                                                                        #objectId: RemoteObjectId | undefined
                                                                        optional

                                                                        Unique object identifier (for non-primitive values).

                                                                        #preview: ObjectPreview | undefined
                                                                        optional

                                                                        Preview containing abbreviated property values. Specified for object type values only.

                                                                        #customPreview: CustomPreview | undefined
                                                                        optional

                                                                        interface Runtime.RunScriptParameterType

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Properties #

                                                                        Id of the script to run.

                                                                        Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.

                                                                        #objectGroup: string | undefined
                                                                        optional

                                                                        Symbolic group name that can be used to release multiple objects.

                                                                        #silent: boolean | undefined
                                                                        optional

                                                                        In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.

                                                                        #includeCommandLineAPI: boolean | undefined
                                                                        optional

                                                                        Determines whether Command Line API should be available during the evaluation.

                                                                        #returnByValue: boolean | undefined
                                                                        optional

                                                                        Whether the result is expected to be a JSON object which should be sent by value.

                                                                        #generatePreview: boolean | undefined
                                                                        optional

                                                                        Whether preview should be generated for the result.

                                                                        #awaitPromise: boolean | undefined
                                                                        optional

                                                                        Whether execution should await for resulting value and return once awaited promise is resolved.




                                                                        interface Runtime.StackTrace

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        Call frames for assertions or error messages.

                                                                        Properties #

                                                                        #description: string | undefined
                                                                        optional

                                                                        String label of this stack trace. For async traces this may be a name of the function that initiated the async call.

                                                                        JavaScript function name.

                                                                        #parent: StackTrace | undefined
                                                                        optional

                                                                        Asynchronous JavaScript stack trace that preceded this stack, if available.

                                                                        #parentId: StackTraceId | undefined
                                                                        optional

                                                                        Asynchronous JavaScript stack trace that preceded this stack, if available.


                                                                        interface Runtime.StackTraceId

                                                                        unstable

                                                                        Usage in Deno

                                                                        import { Runtime } from "node:inspector";
                                                                        

                                                                        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.

                                                                        Properties #

                                                                        #id: string
                                                                        #debuggerId: UniqueDebuggerId | undefined
                                                                        optional

                                                                        interface Schema.Domain

                                                                        Usage in Deno

                                                                        import { Schema } from "node:inspector";
                                                                        

                                                                        Description of the protocol domain.

                                                                        Properties #

                                                                        #name: string

                                                                        Domain name.

                                                                        #version: string

                                                                        Domain version.




                                                                        namespace Debugger

                                                                        Usage in Deno

                                                                        import { Debugger } from "node:inspector";
                                                                        

                                                                        Interfaces #

                                                                        I
                                                                        Debugger.CallFrame

                                                                        JavaScript call frame. Array of call frames form the call stack.

                                                                        I
                                                                        Debugger.EnableReturnType
                                                                        No documentation available
                                                                        I

                                                                        Type Aliases #

                                                                        T
                                                                        Debugger.BreakpointId

                                                                        Breakpoint identifier.

                                                                          T
                                                                          Debugger.CallFrameId

                                                                          Call frame identifier.


                                                                            namespace HeapProfiler

                                                                            Usage in Deno

                                                                            import { HeapProfiler } from "node:inspector";
                                                                            

                                                                            Interfaces #

                                                                            Type Aliases #

                                                                            T
                                                                            HeapProfiler.HeapSnapshotObjectId

                                                                            Heap snapshot object id.


                                                                              namespace Network

                                                                              Usage in Deno

                                                                              import { Network } from "node:inspector";
                                                                              

                                                                              Functions #

                                                                              f
                                                                              Network.loadingFailed

                                                                              This feature is only available with the --experimental-network-inspection flag enabled.

                                                                                f
                                                                                Network.loadingFinished

                                                                                This feature is only available with the --experimental-network-inspection flag enabled.

                                                                                  f
                                                                                  Network.requestWillBeSent

                                                                                  This feature is only available with the --experimental-network-inspection flag enabled.

                                                                                    f
                                                                                    Network.responseReceived

                                                                                    This feature is only available with the --experimental-network-inspection flag enabled.

                                                                                      Interfaces #

                                                                                      Type Aliases #

                                                                                      T
                                                                                      Network.MonotonicTime

                                                                                      Monotonically increasing time in seconds since an arbitrary point in the past.

                                                                                        T
                                                                                        Network.RequestId

                                                                                        Unique request identifier.

                                                                                          T
                                                                                          Network.ResourceType

                                                                                          Resource type as it was perceived by the rendering engine.

                                                                                            T
                                                                                            Network.TimeSinceEpoch

                                                                                            UTC time in seconds, counted from January 1, 1970.




                                                                                              namespace NodeWorker

                                                                                              Usage in Deno

                                                                                              import { NodeWorker } from "node:inspector";
                                                                                              

                                                                                              Interfaces #

                                                                                              Type Aliases #

                                                                                              T
                                                                                              NodeWorker.SessionID

                                                                                              Unique identifier of attached debugging session.

                                                                                                T
                                                                                                NodeWorker.WorkerID
                                                                                                No documentation available

                                                                                                  namespace Profiler

                                                                                                  Usage in Deno

                                                                                                  import { Profiler } from "node:inspector";
                                                                                                  

                                                                                                  Interfaces #

                                                                                                  I
                                                                                                  Profiler.CoverageRange

                                                                                                  Coverage data for a source range.

                                                                                                  I
                                                                                                  Profiler.FunctionCoverage

                                                                                                  Coverage data for a JavaScript function.

                                                                                                  I
                                                                                                  Profiler.PositionTickInfo

                                                                                                  Specifies a number of samples attributed to a certain source position.

                                                                                                  I
                                                                                                  Profiler.ProfileNode

                                                                                                  Profile node. Holds callsite information, execution statistics and child nodes.

                                                                                                  I
                                                                                                  Profiler.ScriptCoverage

                                                                                                  Coverage data for a JavaScript script.

                                                                                                  I
                                                                                                  Profiler.StopReturnType
                                                                                                  No documentation available

                                                                                                  namespace Runtime

                                                                                                  Usage in Deno

                                                                                                  import { Runtime } from "node:inspector";
                                                                                                  

                                                                                                  Interfaces #

                                                                                                  I
                                                                                                  Runtime.CallArgument

                                                                                                  Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified.

                                                                                                  I
                                                                                                  Runtime.CallFrame

                                                                                                  Stack entry for runtime errors and assertions.

                                                                                                  I
                                                                                                  Runtime.EntryPreview
                                                                                                  No documentation available
                                                                                                  I
                                                                                                  Runtime.ExceptionDetails

                                                                                                  Detailed information about exception (or error) that was thrown during script compilation or execution.

                                                                                                  I
                                                                                                  Runtime.InternalPropertyDescriptor

                                                                                                  Object internal property descriptor. This property isn't normally visible in JavaScript code.

                                                                                                  I
                                                                                                  Runtime.ObjectPreview

                                                                                                  Object containing abbreviated remote object value.

                                                                                                  I
                                                                                                  Runtime.QueryObjectsReturnType
                                                                                                  No documentation available
                                                                                                  I
                                                                                                  Runtime.StackTrace

                                                                                                  Call frames for assertions or error messages.

                                                                                                  I
                                                                                                  Runtime.StackTraceId

                                                                                                  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.

                                                                                                  Type Aliases #

                                                                                                  T
                                                                                                  Runtime.ExecutionContextId

                                                                                                  Id of an execution context.

                                                                                                    T
                                                                                                    Runtime.RemoteObjectId

                                                                                                    Unique object identifier.

                                                                                                      T
                                                                                                      Runtime.ScriptId

                                                                                                      Unique script identifier.

                                                                                                        T
                                                                                                        Runtime.Timestamp

                                                                                                        Number of milliseconds since epoch.

                                                                                                          T
                                                                                                          Runtime.UniqueDebuggerId

                                                                                                          Unique identifier of current debugger.

                                                                                                            T
                                                                                                            Runtime.UnserializableValue

                                                                                                            Primitive value which cannot be JSON-stringified.



                                                                                                              type alias Debugger.BreakpointId

                                                                                                              Usage in Deno

                                                                                                              import { Debugger } from "node:inspector";
                                                                                                              

                                                                                                              Breakpoint identifier.

                                                                                                              Definition #

                                                                                                              string

                                                                                                              type alias Debugger.CallFrameId

                                                                                                              Usage in Deno

                                                                                                              import { Debugger } from "node:inspector";
                                                                                                              

                                                                                                              Call frame identifier.

                                                                                                              Definition #

                                                                                                              string


                                                                                                              type alias Network.MonotonicTime

                                                                                                              Usage in Deno

                                                                                                              import { Network } from "node:inspector";
                                                                                                              

                                                                                                              Monotonically increasing time in seconds since an arbitrary point in the past.

                                                                                                              Definition #

                                                                                                              number

                                                                                                              type alias Network.RequestId

                                                                                                              Usage in Deno

                                                                                                              import { Network } from "node:inspector";
                                                                                                              

                                                                                                              Unique request identifier.

                                                                                                              Definition #

                                                                                                              string

                                                                                                              type alias Network.ResourceType

                                                                                                              Usage in Deno

                                                                                                              import { Network } from "node:inspector";
                                                                                                              

                                                                                                              Resource type as it was perceived by the rendering engine.

                                                                                                              Definition #

                                                                                                              string

                                                                                                              type alias Network.TimeSinceEpoch

                                                                                                              Usage in Deno

                                                                                                              import { Network } from "node:inspector";
                                                                                                              

                                                                                                              UTC time in seconds, counted from January 1, 1970.

                                                                                                              Definition #

                                                                                                              number

                                                                                                              type alias NodeWorker.SessionID

                                                                                                              Usage in Deno

                                                                                                              import { NodeWorker } from "node:inspector";
                                                                                                              

                                                                                                              Unique identifier of attached debugging session.

                                                                                                              Definition #

                                                                                                              string

                                                                                                              type alias NodeWorker.WorkerID

                                                                                                              Usage in Deno

                                                                                                              import { NodeWorker } from "node:inspector";
                                                                                                              

                                                                                                              Definition #

                                                                                                              string

                                                                                                              type alias Runtime.ExecutionContextId

                                                                                                              Usage in Deno

                                                                                                              import { Runtime } from "node:inspector";
                                                                                                              

                                                                                                              Id of an execution context.

                                                                                                              Definition #

                                                                                                              number

                                                                                                              type alias Runtime.RemoteObjectId

                                                                                                              Usage in Deno

                                                                                                              import { Runtime } from "node:inspector";
                                                                                                              

                                                                                                              Unique object identifier.

                                                                                                              Definition #

                                                                                                              string

                                                                                                              type alias Runtime.ScriptId

                                                                                                              Usage in Deno

                                                                                                              import { Runtime } from "node:inspector";
                                                                                                              

                                                                                                              Unique script identifier.

                                                                                                              Definition #

                                                                                                              string

                                                                                                              type alias Runtime.Timestamp

                                                                                                              Usage in Deno

                                                                                                              import { Runtime } from "node:inspector";
                                                                                                              

                                                                                                              Number of milliseconds since epoch.

                                                                                                              Definition #

                                                                                                              number

                                                                                                              type alias Runtime.UniqueDebuggerId

                                                                                                              unstable

                                                                                                              Usage in Deno

                                                                                                              import { Runtime } from "node:inspector";
                                                                                                              

                                                                                                              Unique identifier of current debugger.

                                                                                                              Definition #

                                                                                                              string

                                                                                                              type alias Runtime.UnserializableValue

                                                                                                              Usage in Deno

                                                                                                              import { Runtime } from "node:inspector";
                                                                                                              

                                                                                                              Primitive value which cannot be JSON-stringified.

                                                                                                              Definition #

                                                                                                              string

                                                                                                              variable console

                                                                                                              Usage in Deno

                                                                                                              import { console } from "node:inspector";
                                                                                                              

                                                                                                              An object to send messages to the remote inspector console.

                                                                                                              Type #


                                                                                                              Did you find what you needed?

                                                                                                              Privacy policy