Skip to main content
Session.prototype.emit - inspector/promises - Node documentation
method Session.prototype.emit

Usage in Deno

import { Session } from "node:inspector/promises";
Session.prototype.emit(
event: string | symbol,
...args: any[],
): boolean

Parameters

event: string | symbol
...args: any[]

Return Type

boolean
Session.prototype.emit(
event: "inspectorNotification",
message: InspectorNotification<object>,
): boolean

Parameters

event: "inspectorNotification"
message: InspectorNotification<object>

Return Type

boolean
Session.prototype.emit(
event: "Runtime.executionContextCreated",
): boolean

Parameters

event: "Runtime.executionContextCreated"

Return Type

boolean
Session.prototype.emit(
event: "Runtime.executionContextDestroyed",
): boolean

Parameters

event: "Runtime.executionContextDestroyed"

Return Type

boolean
Session.prototype.emit(event: "Runtime.executionContextsCleared"): boolean

Parameters

event: "Runtime.executionContextsCleared"

Return Type

boolean
Session.prototype.emit(
event: "Runtime.exceptionThrown",
): boolean

Parameters

event: "Runtime.exceptionThrown"

Return Type

boolean
Session.prototype.emit(
event: "Runtime.exceptionRevoked",
): boolean

Parameters

event: "Runtime.exceptionRevoked"

Return Type

boolean
Session.prototype.emit(
event: "Runtime.consoleAPICalled",
): boolean

Parameters

event: "Runtime.consoleAPICalled"

Return Type

boolean
Session.prototype.emit(
event: "Runtime.inspectRequested",
): boolean

Parameters

event: "Runtime.inspectRequested"

Return Type

boolean
Session.prototype.emit(
event: "Debugger.scriptParsed",
): boolean

Parameters

event: "Debugger.scriptParsed"

Return Type

boolean
Session.prototype.emit(
event: "Debugger.scriptFailedToParse",
): boolean

Parameters

event: "Debugger.scriptFailedToParse"

Return Type

boolean
Session.prototype.emit(
event: "Debugger.breakpointResolved",
): boolean

Parameters

event: "Debugger.breakpointResolved"

Return Type

boolean
Session.prototype.emit(
event: "Debugger.paused",
): boolean

Parameters

event: "Debugger.paused"

Return Type

boolean
Session.prototype.emit(event: "Debugger.resumed"): boolean

Parameters

event: "Debugger.resumed"

Return Type

boolean
Session.prototype.emit(
event: "Console.messageAdded",
): boolean

Parameters

event: "Console.messageAdded"

Return Type

boolean
Session.prototype.emit(
event: "Profiler.consoleProfileStarted",
): boolean

Parameters

event: "Profiler.consoleProfileStarted"

Return Type

boolean
Session.prototype.emit(
event: "Profiler.consoleProfileFinished",
): boolean

Parameters

event: "Profiler.consoleProfileFinished"

Return Type

boolean
Session.prototype.emit(
event: "HeapProfiler.addHeapSnapshotChunk",
): boolean

Parameters

event: "HeapProfiler.addHeapSnapshotChunk"

Return Type

boolean
Session.prototype.emit(event: "HeapProfiler.resetProfiles"): boolean

Parameters

event: "HeapProfiler.resetProfiles"

Return Type

boolean
Session.prototype.emit(
event: "HeapProfiler.reportHeapSnapshotProgress",
): boolean

Parameters

event: "HeapProfiler.reportHeapSnapshotProgress"

Return Type

boolean
Session.prototype.emit(
event: "HeapProfiler.lastSeenObjectId",
): boolean

Parameters

event: "HeapProfiler.lastSeenObjectId"

Return Type

boolean
Session.prototype.emit(
event: "HeapProfiler.heapStatsUpdate",
): boolean

Parameters

event: "HeapProfiler.heapStatsUpdate"

Return Type

boolean
Session.prototype.emit(
event: "NodeTracing.dataCollected",
): boolean

Parameters

event: "NodeTracing.dataCollected"

Return Type

boolean
Session.prototype.emit(event: "NodeTracing.tracingComplete"): boolean

Parameters

event: "NodeTracing.tracingComplete"

Return Type

boolean
Session.prototype.emit(
event: "NodeWorker.attachedToWorker",
): boolean

Parameters

event: "NodeWorker.attachedToWorker"

Return Type

boolean
Session.prototype.emit(
event: "NodeWorker.detachedFromWorker",
): boolean

Parameters

event: "NodeWorker.detachedFromWorker"

Return Type

boolean
Session.prototype.emit(
event: "NodeWorker.receivedMessageFromWorker",
): boolean

Parameters

event: "NodeWorker.receivedMessageFromWorker"

Return Type

boolean
Session.prototype.emit(
event: "Network.requestWillBeSent",
): boolean

Parameters

event: "Network.requestWillBeSent"

Return Type

boolean
Session.prototype.emit(
event: "Network.responseReceived",
): boolean

Parameters

event: "Network.responseReceived"

Return Type

boolean
Session.prototype.emit(
event: "Network.loadingFailed",
): boolean

Parameters

event: "Network.loadingFailed"

Return Type

boolean
Session.prototype.emit(
event: "Network.loadingFinished",
): boolean

Parameters

event: "Network.loadingFinished"

Return Type

boolean
Session.prototype.emit(event: "NodeRuntime.waitingForDisconnect"): boolean

Parameters

event: "NodeRuntime.waitingForDisconnect"

Return Type

boolean
Session.prototype.emit(event: "NodeRuntime.waitingForDebugger"): boolean

Parameters

event: "NodeRuntime.waitingForDebugger"

Return Type

boolean