|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
declare module 'inspector' { |
|
import EventEmitter = require('node:events'); |
|
interface InspectorNotification<T> { |
|
method: string; |
|
params: T; |
|
} |
|
namespace Schema { |
|
|
|
|
|
|
|
interface Domain { |
|
|
|
|
|
|
|
name: string; |
|
|
|
|
|
|
|
version: string; |
|
} |
|
interface GetDomainsReturnType { |
|
|
|
|
|
|
|
domains: Domain[]; |
|
} |
|
} |
|
namespace Runtime { |
|
|
|
|
|
|
|
type ScriptId = string; |
|
|
|
|
|
|
|
type RemoteObjectId = string; |
|
|
|
|
|
|
|
type UnserializableValue = string; |
|
|
|
|
|
|
|
interface RemoteObject { |
|
|
|
|
|
|
|
type: string; |
|
|
|
|
|
|
|
subtype?: string | undefined; |
|
|
|
|
|
|
|
className?: string | undefined; |
|
|
|
|
|
|
|
value?: any; |
|
|
|
|
|
|
|
unserializableValue?: UnserializableValue | undefined; |
|
|
|
|
|
|
|
description?: string | undefined; |
|
|
|
|
|
|
|
objectId?: RemoteObjectId | undefined; |
|
|
|
|
|
|
|
|
|
preview?: ObjectPreview | undefined; |
|
|
|
|
|
|
|
customPreview?: CustomPreview | undefined; |
|
} |
|
|
|
|
|
|
|
interface CustomPreview { |
|
header: string; |
|
hasBody: boolean; |
|
formatterObjectId: RemoteObjectId; |
|
bindRemoteObjectFunctionId: RemoteObjectId; |
|
configObjectId?: RemoteObjectId | undefined; |
|
} |
|
|
|
|
|
|
|
|
|
interface ObjectPreview { |
|
|
|
|
|
|
|
type: string; |
|
|
|
|
|
|
|
subtype?: string | undefined; |
|
|
|
|
|
|
|
description?: string | undefined; |
|
|
|
|
|
|
|
overflow: boolean; |
|
|
|
|
|
|
|
properties: PropertyPreview[]; |
|
|
|
|
|
|
|
entries?: EntryPreview[] | undefined; |
|
} |
|
|
|
|
|
|
|
interface PropertyPreview { |
|
|
|
|
|
|
|
name: string; |
|
|
|
|
|
|
|
type: string; |
|
|
|
|
|
|
|
value?: string | undefined; |
|
|
|
|
|
|
|
valuePreview?: ObjectPreview | undefined; |
|
|
|
|
|
|
|
subtype?: string | undefined; |
|
} |
|
|
|
|
|
|
|
interface EntryPreview { |
|
|
|
|
|
|
|
key?: ObjectPreview | undefined; |
|
|
|
|
|
|
|
value: ObjectPreview; |
|
} |
|
|
|
|
|
|
|
interface PropertyDescriptor { |
|
|
|
|
|
|
|
name: string; |
|
|
|
|
|
|
|
value?: RemoteObject | undefined; |
|
|
|
|
|
|
|
writable?: boolean | undefined; |
|
|
|
|
|
|
|
get?: RemoteObject | undefined; |
|
|
|
|
|
|
|
set?: RemoteObject | undefined; |
|
|
|
|
|
|
|
configurable: boolean; |
|
|
|
|
|
|
|
enumerable: boolean; |
|
|
|
|
|
|
|
wasThrown?: boolean | undefined; |
|
|
|
|
|
|
|
isOwn?: boolean | undefined; |
|
|
|
|
|
|
|
symbol?: RemoteObject | undefined; |
|
} |
|
|
|
|
|
|
|
interface InternalPropertyDescriptor { |
|
|
|
|
|
|
|
name: string; |
|
|
|
|
|
|
|
value?: RemoteObject | undefined; |
|
} |
|
|
|
|
|
|
|
interface CallArgument { |
|
|
|
|
|
|
|
value?: any; |
|
|
|
|
|
|
|
unserializableValue?: UnserializableValue | undefined; |
|
|
|
|
|
|
|
objectId?: RemoteObjectId | undefined; |
|
} |
|
|
|
|
|
|
|
type ExecutionContextId = number; |
|
|
|
|
|
|
|
interface ExecutionContextDescription { |
|
|
|
|
|
|
|
id: ExecutionContextId; |
|
|
|
|
|
|
|
origin: string; |
|
|
|
|
|
|
|
name: string; |
|
|
|
|
|
|
|
auxData?: {} | undefined; |
|
} |
|
|
|
|
|
|
|
interface ExceptionDetails { |
|
|
|
|
|
|
|
exceptionId: number; |
|
|
|
|
|
|
|
text: string; |
|
|
|
|
|
|
|
lineNumber: number; |
|
|
|
|
|
|
|
columnNumber: number; |
|
|
|
|
|
|
|
scriptId?: ScriptId | undefined; |
|
|
|
|
|
|
|
url?: string | undefined; |
|
|
|
|
|
|
|
stackTrace?: StackTrace | undefined; |
|
|
|
|
|
|
|
exception?: RemoteObject | undefined; |
|
|
|
|
|
|
|
executionContextId?: ExecutionContextId | undefined; |
|
} |
|
|
|
|
|
|
|
type Timestamp = number; |
|
|
|
|
|
|
|
interface CallFrame { |
|
|
|
|
|
|
|
functionName: string; |
|
|
|
|
|
|
|
scriptId: ScriptId; |
|
|
|
|
|
|
|
url: string; |
|
|
|
|
|
|
|
lineNumber: number; |
|
|
|
|
|
|
|
columnNumber: number; |
|
} |
|
|
|
|
|
|
|
interface StackTrace { |
|
|
|
|
|
|
|
description?: string | undefined; |
|
|
|
|
|
|
|
callFrames: CallFrame[]; |
|
|
|
|
|
|
|
parent?: StackTrace | undefined; |
|
|
|
|
|
|
|
|
|
parentId?: StackTraceId | undefined; |
|
} |
|
|
|
|
|
|
|
|
|
type UniqueDebuggerId = string; |
|
|
|
|
|
|
|
|
|
interface StackTraceId { |
|
id: string; |
|
debuggerId?: UniqueDebuggerId | undefined; |
|
} |
|
interface EvaluateParameterType { |
|
|
|
|
|
|
|
expression: string; |
|
|
|
|
|
|
|
objectGroup?: string | undefined; |
|
|
|
|
|
|
|
includeCommandLineAPI?: boolean | undefined; |
|
|
|
|
|
|
|
silent?: boolean | undefined; |
|
|
|
|
|
|
|
contextId?: ExecutionContextId | undefined; |
|
|
|
|
|
|
|
returnByValue?: boolean | undefined; |
|
|
|
|
|
|
|
|
|
generatePreview?: boolean | undefined; |
|
|
|
|
|
|
|
userGesture?: boolean | undefined; |
|
|
|
|
|
|
|
awaitPromise?: boolean | undefined; |
|
} |
|
interface AwaitPromiseParameterType { |
|
|
|
|
|
|
|
promiseObjectId: RemoteObjectId; |
|
|
|
|
|
|
|
returnByValue?: boolean | undefined; |
|
|
|
|
|
|
|
generatePreview?: boolean | undefined; |
|
} |
|
interface CallFunctionOnParameterType { |
|
|
|
|
|
|
|
functionDeclaration: string; |
|
|
|
|
|
|
|
objectId?: RemoteObjectId | undefined; |
|
|
|
|
|
|
|
arguments?: CallArgument[] | undefined; |
|
|
|
|
|
|
|
silent?: boolean | undefined; |
|
|
|
|
|
|
|
returnByValue?: boolean | undefined; |
|
|
|
|
|
|
|
|
|
generatePreview?: boolean | undefined; |
|
|
|
|
|
|
|
userGesture?: boolean | undefined; |
|
|
|
|
|
|
|
awaitPromise?: boolean | undefined; |
|
|
|
|
|
|
|
executionContextId?: ExecutionContextId | undefined; |
|
|
|
|
|
|
|
objectGroup?: string | undefined; |
|
} |
|
interface GetPropertiesParameterType { |
|
|
|
|
|
|
|
objectId: RemoteObjectId; |
|
|
|
|
|
|
|
ownProperties?: boolean | undefined; |
|
|
|
|
|
|
|
|
|
accessorPropertiesOnly?: boolean | undefined; |
|
|
|
|
|
|
|
|
|
generatePreview?: boolean | undefined; |
|
} |
|
interface ReleaseObjectParameterType { |
|
|
|
|
|
|
|
objectId: RemoteObjectId; |
|
} |
|
interface ReleaseObjectGroupParameterType { |
|
|
|
|
|
|
|
objectGroup: string; |
|
} |
|
interface SetCustomObjectFormatterEnabledParameterType { |
|
enabled: boolean; |
|
} |
|
interface CompileScriptParameterType { |
|
|
|
|
|
|
|
expression: string; |
|
|
|
|
|
|
|
sourceURL: string; |
|
|
|
|
|
|
|
persistScript: boolean; |
|
|
|
|
|
|
|
executionContextId?: ExecutionContextId | undefined; |
|
} |
|
interface RunScriptParameterType { |
|
|
|
|
|
|
|
scriptId: ScriptId; |
|
|
|
|
|
|
|
executionContextId?: ExecutionContextId | undefined; |
|
|
|
|
|
|
|
objectGroup?: string | undefined; |
|
|
|
|
|
|
|
silent?: boolean | undefined; |
|
|
|
|
|
|
|
includeCommandLineAPI?: boolean | undefined; |
|
|
|
|
|
|
|
returnByValue?: boolean | undefined; |
|
|
|
|
|
|
|
generatePreview?: boolean | undefined; |
|
|
|
|
|
|
|
awaitPromise?: boolean | undefined; |
|
} |
|
interface QueryObjectsParameterType { |
|
|
|
|
|
|
|
prototypeObjectId: RemoteObjectId; |
|
} |
|
interface GlobalLexicalScopeNamesParameterType { |
|
|
|
|
|
|
|
executionContextId?: ExecutionContextId | undefined; |
|
} |
|
interface EvaluateReturnType { |
|
|
|
|
|
|
|
result: RemoteObject; |
|
|
|
|
|
|
|
exceptionDetails?: ExceptionDetails | undefined; |
|
} |
|
interface AwaitPromiseReturnType { |
|
|
|
|
|
|
|
result: RemoteObject; |
|
|
|
|
|
|
|
exceptionDetails?: ExceptionDetails | undefined; |
|
} |
|
interface CallFunctionOnReturnType { |
|
|
|
|
|
|
|
result: RemoteObject; |
|
|
|
|
|
|
|
exceptionDetails?: ExceptionDetails | undefined; |
|
} |
|
interface GetPropertiesReturnType { |
|
|
|
|
|
|
|
result: PropertyDescriptor[]; |
|
|
|
|
|
|
|
internalProperties?: InternalPropertyDescriptor[] | undefined; |
|
|
|
|
|
|
|
exceptionDetails?: ExceptionDetails | undefined; |
|
} |
|
interface CompileScriptReturnType { |
|
|
|
|
|
|
|
scriptId?: ScriptId | undefined; |
|
|
|
|
|
|
|
exceptionDetails?: ExceptionDetails | undefined; |
|
} |
|
interface RunScriptReturnType { |
|
|
|
|
|
|
|
result: RemoteObject; |
|
|
|
|
|
|
|
exceptionDetails?: ExceptionDetails | undefined; |
|
} |
|
interface QueryObjectsReturnType { |
|
|
|
|
|
|
|
objects: RemoteObject; |
|
} |
|
interface GlobalLexicalScopeNamesReturnType { |
|
names: string[]; |
|
} |
|
interface ExecutionContextCreatedEventDataType { |
|
|
|
|
|
|
|
context: ExecutionContextDescription; |
|
} |
|
interface ExecutionContextDestroyedEventDataType { |
|
|
|
|
|
|
|
executionContextId: ExecutionContextId; |
|
} |
|
interface ExceptionThrownEventDataType { |
|
|
|
|
|
|
|
timestamp: Timestamp; |
|
exceptionDetails: ExceptionDetails; |
|
} |
|
interface ExceptionRevokedEventDataType { |
|
|
|
|
|
|
|
reason: string; |
|
|
|
|
|
|
|
exceptionId: number; |
|
} |
|
interface ConsoleAPICalledEventDataType { |
|
|
|
|
|
|
|
type: string; |
|
|
|
|
|
|
|
args: RemoteObject[]; |
|
|
|
|
|
|
|
executionContextId: ExecutionContextId; |
|
|
|
|
|
|
|
timestamp: Timestamp; |
|
|
|
|
|
|
|
stackTrace?: StackTrace | undefined; |
|
|
|
|
|
|
|
|
|
context?: string | undefined; |
|
} |
|
interface InspectRequestedEventDataType { |
|
object: RemoteObject; |
|
hints: {}; |
|
} |
|
} |
|
namespace Debugger { |
|
|
|
|
|
|
|
type BreakpointId = string; |
|
|
|
|
|
|
|
type CallFrameId = string; |
|
|
|
|
|
|
|
interface Location { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
|
|
|
|
|
|
lineNumber: number; |
|
|
|
|
|
|
|
columnNumber?: number | undefined; |
|
} |
|
|
|
|
|
|
|
|
|
interface ScriptPosition { |
|
lineNumber: number; |
|
columnNumber: number; |
|
} |
|
|
|
|
|
|
|
interface CallFrame { |
|
|
|
|
|
|
|
callFrameId: CallFrameId; |
|
|
|
|
|
|
|
functionName: string; |
|
|
|
|
|
|
|
functionLocation?: Location | undefined; |
|
|
|
|
|
|
|
location: Location; |
|
|
|
|
|
|
|
url: string; |
|
|
|
|
|
|
|
scopeChain: Scope[]; |
|
|
|
|
|
|
|
this: Runtime.RemoteObject; |
|
|
|
|
|
|
|
returnValue?: Runtime.RemoteObject | undefined; |
|
} |
|
|
|
|
|
|
|
interface Scope { |
|
|
|
|
|
|
|
type: string; |
|
|
|
|
|
|
|
object: Runtime.RemoteObject; |
|
name?: string | undefined; |
|
|
|
|
|
|
|
startLocation?: Location | undefined; |
|
|
|
|
|
|
|
endLocation?: Location | undefined; |
|
} |
|
|
|
|
|
|
|
interface SearchMatch { |
|
|
|
|
|
|
|
lineNumber: number; |
|
|
|
|
|
|
|
lineContent: string; |
|
} |
|
interface BreakLocation { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
|
|
|
|
|
|
lineNumber: number; |
|
|
|
|
|
|
|
columnNumber?: number | undefined; |
|
type?: string | undefined; |
|
} |
|
interface SetBreakpointsActiveParameterType { |
|
|
|
|
|
|
|
active: boolean; |
|
} |
|
interface SetSkipAllPausesParameterType { |
|
|
|
|
|
|
|
skip: boolean; |
|
} |
|
interface SetBreakpointByUrlParameterType { |
|
|
|
|
|
|
|
lineNumber: number; |
|
|
|
|
|
|
|
url?: string | undefined; |
|
|
|
|
|
|
|
urlRegex?: string | undefined; |
|
|
|
|
|
|
|
scriptHash?: string | undefined; |
|
|
|
|
|
|
|
columnNumber?: number | undefined; |
|
|
|
|
|
|
|
condition?: string | undefined; |
|
} |
|
interface SetBreakpointParameterType { |
|
|
|
|
|
|
|
location: Location; |
|
|
|
|
|
|
|
condition?: string | undefined; |
|
} |
|
interface RemoveBreakpointParameterType { |
|
breakpointId: BreakpointId; |
|
} |
|
interface GetPossibleBreakpointsParameterType { |
|
|
|
|
|
|
|
start: Location; |
|
|
|
|
|
|
|
end?: Location | undefined; |
|
|
|
|
|
|
|
restrictToFunction?: boolean | undefined; |
|
} |
|
interface ContinueToLocationParameterType { |
|
|
|
|
|
|
|
location: Location; |
|
targetCallFrames?: string | undefined; |
|
} |
|
interface PauseOnAsyncCallParameterType { |
|
|
|
|
|
|
|
parentStackTraceId: Runtime.StackTraceId; |
|
} |
|
interface StepIntoParameterType { |
|
|
|
|
|
|
|
|
|
breakOnAsyncCall?: boolean | undefined; |
|
} |
|
interface GetStackTraceParameterType { |
|
stackTraceId: Runtime.StackTraceId; |
|
} |
|
interface SearchInContentParameterType { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
|
|
|
|
|
|
query: string; |
|
|
|
|
|
|
|
caseSensitive?: boolean | undefined; |
|
|
|
|
|
|
|
isRegex?: boolean | undefined; |
|
} |
|
interface SetScriptSourceParameterType { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
|
|
|
|
|
|
scriptSource: string; |
|
|
|
|
|
|
|
dryRun?: boolean | undefined; |
|
} |
|
interface RestartFrameParameterType { |
|
|
|
|
|
|
|
callFrameId: CallFrameId; |
|
} |
|
interface GetScriptSourceParameterType { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
} |
|
interface SetPauseOnExceptionsParameterType { |
|
|
|
|
|
|
|
state: string; |
|
} |
|
interface EvaluateOnCallFrameParameterType { |
|
|
|
|
|
|
|
callFrameId: CallFrameId; |
|
|
|
|
|
|
|
expression: string; |
|
|
|
|
|
|
|
objectGroup?: string | undefined; |
|
|
|
|
|
|
|
includeCommandLineAPI?: boolean | undefined; |
|
|
|
|
|
|
|
silent?: boolean | undefined; |
|
|
|
|
|
|
|
returnByValue?: boolean | undefined; |
|
|
|
|
|
|
|
|
|
generatePreview?: boolean | undefined; |
|
|
|
|
|
|
|
throwOnSideEffect?: boolean | undefined; |
|
} |
|
interface SetVariableValueParameterType { |
|
|
|
|
|
|
|
scopeNumber: number; |
|
|
|
|
|
|
|
variableName: string; |
|
|
|
|
|
|
|
newValue: Runtime.CallArgument; |
|
|
|
|
|
|
|
callFrameId: CallFrameId; |
|
} |
|
interface SetReturnValueParameterType { |
|
|
|
|
|
|
|
newValue: Runtime.CallArgument; |
|
} |
|
interface SetAsyncCallStackDepthParameterType { |
|
|
|
|
|
|
|
maxDepth: number; |
|
} |
|
interface SetBlackboxPatternsParameterType { |
|
|
|
|
|
|
|
patterns: string[]; |
|
} |
|
interface SetBlackboxedRangesParameterType { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
positions: ScriptPosition[]; |
|
} |
|
interface EnableReturnType { |
|
|
|
|
|
|
|
|
|
debuggerId: Runtime.UniqueDebuggerId; |
|
} |
|
interface SetBreakpointByUrlReturnType { |
|
|
|
|
|
|
|
breakpointId: BreakpointId; |
|
|
|
|
|
|
|
locations: Location[]; |
|
} |
|
interface SetBreakpointReturnType { |
|
|
|
|
|
|
|
breakpointId: BreakpointId; |
|
|
|
|
|
|
|
actualLocation: Location; |
|
} |
|
interface GetPossibleBreakpointsReturnType { |
|
|
|
|
|
|
|
locations: BreakLocation[]; |
|
} |
|
interface GetStackTraceReturnType { |
|
stackTrace: Runtime.StackTrace; |
|
} |
|
interface SearchInContentReturnType { |
|
|
|
|
|
|
|
result: SearchMatch[]; |
|
} |
|
interface SetScriptSourceReturnType { |
|
|
|
|
|
|
|
callFrames?: CallFrame[] | undefined; |
|
|
|
|
|
|
|
stackChanged?: boolean | undefined; |
|
|
|
|
|
|
|
asyncStackTrace?: Runtime.StackTrace | undefined; |
|
|
|
|
|
|
|
|
|
asyncStackTraceId?: Runtime.StackTraceId | undefined; |
|
|
|
|
|
|
|
exceptionDetails?: Runtime.ExceptionDetails | undefined; |
|
} |
|
interface RestartFrameReturnType { |
|
|
|
|
|
|
|
callFrames: CallFrame[]; |
|
|
|
|
|
|
|
asyncStackTrace?: Runtime.StackTrace | undefined; |
|
|
|
|
|
|
|
|
|
asyncStackTraceId?: Runtime.StackTraceId | undefined; |
|
} |
|
interface GetScriptSourceReturnType { |
|
|
|
|
|
|
|
scriptSource: string; |
|
} |
|
interface EvaluateOnCallFrameReturnType { |
|
|
|
|
|
|
|
result: Runtime.RemoteObject; |
|
|
|
|
|
|
|
exceptionDetails?: Runtime.ExceptionDetails | undefined; |
|
} |
|
interface ScriptParsedEventDataType { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
|
|
|
|
|
|
url: string; |
|
|
|
|
|
|
|
startLine: number; |
|
|
|
|
|
|
|
startColumn: number; |
|
|
|
|
|
|
|
endLine: number; |
|
|
|
|
|
|
|
endColumn: number; |
|
|
|
|
|
|
|
executionContextId: Runtime.ExecutionContextId; |
|
|
|
|
|
|
|
hash: string; |
|
|
|
|
|
|
|
executionContextAuxData?: {} | undefined; |
|
|
|
|
|
|
|
|
|
isLiveEdit?: boolean | undefined; |
|
|
|
|
|
|
|
sourceMapURL?: string | undefined; |
|
|
|
|
|
|
|
hasSourceURL?: boolean | undefined; |
|
|
|
|
|
|
|
isModule?: boolean | undefined; |
|
|
|
|
|
|
|
length?: number | undefined; |
|
|
|
|
|
|
|
|
|
stackTrace?: Runtime.StackTrace | undefined; |
|
} |
|
interface ScriptFailedToParseEventDataType { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
|
|
|
|
|
|
url: string; |
|
|
|
|
|
|
|
startLine: number; |
|
|
|
|
|
|
|
startColumn: number; |
|
|
|
|
|
|
|
endLine: number; |
|
|
|
|
|
|
|
endColumn: number; |
|
|
|
|
|
|
|
executionContextId: Runtime.ExecutionContextId; |
|
|
|
|
|
|
|
hash: string; |
|
|
|
|
|
|
|
executionContextAuxData?: {} | undefined; |
|
|
|
|
|
|
|
sourceMapURL?: string | undefined; |
|
|
|
|
|
|
|
hasSourceURL?: boolean | undefined; |
|
|
|
|
|
|
|
isModule?: boolean | undefined; |
|
|
|
|
|
|
|
length?: number | undefined; |
|
|
|
|
|
|
|
|
|
stackTrace?: Runtime.StackTrace | undefined; |
|
} |
|
interface BreakpointResolvedEventDataType { |
|
|
|
|
|
|
|
breakpointId: BreakpointId; |
|
|
|
|
|
|
|
location: Location; |
|
} |
|
interface PausedEventDataType { |
|
|
|
|
|
|
|
callFrames: CallFrame[]; |
|
|
|
|
|
|
|
reason: string; |
|
|
|
|
|
|
|
data?: {} | undefined; |
|
|
|
|
|
|
|
hitBreakpoints?: string[] | undefined; |
|
|
|
|
|
|
|
asyncStackTrace?: Runtime.StackTrace | undefined; |
|
|
|
|
|
|
|
|
|
asyncStackTraceId?: Runtime.StackTraceId | undefined; |
|
|
|
|
|
|
|
|
|
asyncCallStackTraceId?: Runtime.StackTraceId | undefined; |
|
} |
|
} |
|
namespace Console { |
|
|
|
|
|
|
|
interface ConsoleMessage { |
|
|
|
|
|
|
|
source: string; |
|
|
|
|
|
|
|
level: string; |
|
|
|
|
|
|
|
text: string; |
|
|
|
|
|
|
|
url?: string | undefined; |
|
|
|
|
|
|
|
line?: number | undefined; |
|
|
|
|
|
|
|
column?: number | undefined; |
|
} |
|
interface MessageAddedEventDataType { |
|
|
|
|
|
|
|
message: ConsoleMessage; |
|
} |
|
} |
|
namespace Profiler { |
|
|
|
|
|
|
|
interface ProfileNode { |
|
|
|
|
|
|
|
id: number; |
|
|
|
|
|
|
|
callFrame: Runtime.CallFrame; |
|
|
|
|
|
|
|
hitCount?: number | undefined; |
|
|
|
|
|
|
|
children?: number[] | undefined; |
|
|
|
|
|
|
|
deoptReason?: string | undefined; |
|
|
|
|
|
|
|
positionTicks?: PositionTickInfo[] | undefined; |
|
} |
|
|
|
|
|
|
|
interface Profile { |
|
|
|
|
|
|
|
nodes: ProfileNode[]; |
|
|
|
|
|
|
|
startTime: number; |
|
|
|
|
|
|
|
endTime: number; |
|
|
|
|
|
|
|
samples?: number[] | undefined; |
|
|
|
|
|
|
|
timeDeltas?: number[] | undefined; |
|
} |
|
|
|
|
|
|
|
interface PositionTickInfo { |
|
|
|
|
|
|
|
line: number; |
|
|
|
|
|
|
|
ticks: number; |
|
} |
|
|
|
|
|
|
|
interface CoverageRange { |
|
|
|
|
|
|
|
startOffset: number; |
|
|
|
|
|
|
|
endOffset: number; |
|
|
|
|
|
|
|
count: number; |
|
} |
|
|
|
|
|
|
|
interface FunctionCoverage { |
|
|
|
|
|
|
|
functionName: string; |
|
|
|
|
|
|
|
ranges: CoverageRange[]; |
|
|
|
|
|
|
|
isBlockCoverage: boolean; |
|
} |
|
|
|
|
|
|
|
interface ScriptCoverage { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
|
|
|
|
|
|
url: string; |
|
|
|
|
|
|
|
functions: FunctionCoverage[]; |
|
} |
|
|
|
|
|
|
|
|
|
interface TypeObject { |
|
|
|
|
|
|
|
name: string; |
|
} |
|
|
|
|
|
|
|
|
|
interface TypeProfileEntry { |
|
|
|
|
|
|
|
offset: number; |
|
|
|
|
|
|
|
types: TypeObject[]; |
|
} |
|
|
|
|
|
|
|
|
|
interface ScriptTypeProfile { |
|
|
|
|
|
|
|
scriptId: Runtime.ScriptId; |
|
|
|
|
|
|
|
url: string; |
|
|
|
|
|
|
|
entries: TypeProfileEntry[]; |
|
} |
|
interface SetSamplingIntervalParameterType { |
|
|
|
|
|
|
|
interval: number; |
|
} |
|
interface StartPreciseCoverageParameterType { |
|
|
|
|
|
|
|
callCount?: boolean | undefined; |
|
|
|
|
|
|
|
detailed?: boolean | undefined; |
|
} |
|
interface StopReturnType { |
|
|
|
|
|
|
|
profile: Profile; |
|
} |
|
interface TakePreciseCoverageReturnType { |
|
|
|
|
|
|
|
result: ScriptCoverage[]; |
|
} |
|
interface GetBestEffortCoverageReturnType { |
|
|
|
|
|
|
|
result: ScriptCoverage[]; |
|
} |
|
interface TakeTypeProfileReturnType { |
|
|
|
|
|
|
|
result: ScriptTypeProfile[]; |
|
} |
|
interface ConsoleProfileStartedEventDataType { |
|
id: string; |
|
|
|
|
|
|
|
location: Debugger.Location; |
|
|
|
|
|
|
|
title?: string | undefined; |
|
} |
|
interface ConsoleProfileFinishedEventDataType { |
|
id: string; |
|
|
|
|
|
|
|
location: Debugger.Location; |
|
profile: Profile; |
|
|
|
|
|
|
|
title?: string | undefined; |
|
} |
|
} |
|
namespace HeapProfiler { |
|
|
|
|
|
|
|
type HeapSnapshotObjectId = string; |
|
|
|
|
|
|
|
interface SamplingHeapProfileNode { |
|
|
|
|
|
|
|
callFrame: Runtime.CallFrame; |
|
|
|
|
|
|
|
selfSize: number; |
|
|
|
|
|
|
|
children: SamplingHeapProfileNode[]; |
|
} |
|
|
|
|
|
|
|
interface SamplingHeapProfile { |
|
head: SamplingHeapProfileNode; |
|
} |
|
interface StartTrackingHeapObjectsParameterType { |
|
trackAllocations?: boolean | undefined; |
|
} |
|
interface StopTrackingHeapObjectsParameterType { |
|
|
|
|
|
|
|
reportProgress?: boolean | undefined; |
|
} |
|
interface TakeHeapSnapshotParameterType { |
|
|
|
|
|
|
|
reportProgress?: boolean | undefined; |
|
} |
|
interface GetObjectByHeapObjectIdParameterType { |
|
objectId: HeapSnapshotObjectId; |
|
|
|
|
|
|
|
objectGroup?: string | undefined; |
|
} |
|
interface AddInspectedHeapObjectParameterType { |
|
|
|
|
|
|
|
heapObjectId: HeapSnapshotObjectId; |
|
} |
|
interface GetHeapObjectIdParameterType { |
|
|
|
|
|
|
|
objectId: Runtime.RemoteObjectId; |
|
} |
|
interface StartSamplingParameterType { |
|
|
|
|
|
|
|
samplingInterval?: number | undefined; |
|
} |
|
interface GetObjectByHeapObjectIdReturnType { |
|
|
|
|
|
|
|
result: Runtime.RemoteObject; |
|
} |
|
interface GetHeapObjectIdReturnType { |
|
|
|
|
|
|
|
heapSnapshotObjectId: HeapSnapshotObjectId; |
|
} |
|
interface StopSamplingReturnType { |
|
|
|
|
|
|
|
profile: SamplingHeapProfile; |
|
} |
|
interface GetSamplingProfileReturnType { |
|
|
|
|
|
|
|
profile: SamplingHeapProfile; |
|
} |
|
interface AddHeapSnapshotChunkEventDataType { |
|
chunk: string; |
|
} |
|
interface ReportHeapSnapshotProgressEventDataType { |
|
done: number; |
|
total: number; |
|
finished?: boolean | undefined; |
|
} |
|
interface LastSeenObjectIdEventDataType { |
|
lastSeenObjectId: number; |
|
timestamp: number; |
|
} |
|
interface HeapStatsUpdateEventDataType { |
|
|
|
|
|
|
|
statsUpdate: number[]; |
|
} |
|
} |
|
namespace NodeTracing { |
|
interface TraceConfig { |
|
|
|
|
|
|
|
recordMode?: string | undefined; |
|
|
|
|
|
|
|
includedCategories: string[]; |
|
} |
|
interface StartParameterType { |
|
traceConfig: TraceConfig; |
|
} |
|
interface GetCategoriesReturnType { |
|
|
|
|
|
|
|
categories: string[]; |
|
} |
|
interface DataCollectedEventDataType { |
|
value: Array<{}>; |
|
} |
|
} |
|
namespace NodeWorker { |
|
type WorkerID = string; |
|
|
|
|
|
|
|
type SessionID = string; |
|
interface WorkerInfo { |
|
workerId: WorkerID; |
|
type: string; |
|
title: string; |
|
url: string; |
|
} |
|
interface SendMessageToWorkerParameterType { |
|
message: string; |
|
|
|
|
|
|
|
sessionId: SessionID; |
|
} |
|
interface EnableParameterType { |
|
|
|
|
|
|
|
|
|
waitForDebuggerOnStart: boolean; |
|
} |
|
interface DetachParameterType { |
|
sessionId: SessionID; |
|
} |
|
interface AttachedToWorkerEventDataType { |
|
|
|
|
|
|
|
sessionId: SessionID; |
|
workerInfo: WorkerInfo; |
|
waitingForDebugger: boolean; |
|
} |
|
interface DetachedFromWorkerEventDataType { |
|
|
|
|
|
|
|
sessionId: SessionID; |
|
} |
|
interface ReceivedMessageFromWorkerEventDataType { |
|
|
|
|
|
|
|
sessionId: SessionID; |
|
message: string; |
|
} |
|
} |
|
namespace NodeRuntime { |
|
interface NotifyWhenWaitingForDisconnectParameterType { |
|
enabled: boolean; |
|
} |
|
} |
|
|
|
|
|
|
|
|
|
class Session extends EventEmitter { |
|
|
|
|
|
|
|
|
|
constructor(); |
|
|
|
|
|
|
|
|
|
connect(): void; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
disconnect(): void; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void; |
|
post(method: string, callback?: (err: Error | null, params?: {}) => void): void; |
|
|
|
|
|
|
|
post(method: 'Schema.getDomains', callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.evaluate', params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; |
|
post(method: 'Runtime.evaluate', callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.awaitPromise', params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; |
|
post(method: 'Runtime.awaitPromise', callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.callFunctionOn', params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; |
|
post(method: 'Runtime.callFunctionOn', callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.getProperties', params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; |
|
post(method: 'Runtime.getProperties', callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.releaseObject', params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Runtime.releaseObject', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.releaseObjectGroup', params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Runtime.releaseObjectGroup', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.runIfWaitingForDebugger', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.enable', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.disable', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.discardConsoleEntries', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.setCustomObjectFormatterEnabled', params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Runtime.setCustomObjectFormatterEnabled', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.compileScript', params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; |
|
post(method: 'Runtime.compileScript', callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Runtime.runScript', params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; |
|
post(method: 'Runtime.runScript', callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; |
|
post(method: 'Runtime.queryObjects', params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; |
|
post(method: 'Runtime.queryObjects', callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; |
|
|
|
|
|
|
|
post( |
|
method: 'Runtime.globalLexicalScopeNames', |
|
params?: Runtime.GlobalLexicalScopeNamesParameterType, |
|
callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void |
|
): void; |
|
post(method: 'Runtime.globalLexicalScopeNames', callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.enable', callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.disable', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.setBreakpointsActive', params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.setBreakpointsActive', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.setSkipAllPauses', params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.setSkipAllPauses', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.setBreakpointByUrl', params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; |
|
post(method: 'Debugger.setBreakpointByUrl', callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.setBreakpoint', params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; |
|
post(method: 'Debugger.setBreakpoint', callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.removeBreakpoint', params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.removeBreakpoint', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post( |
|
method: 'Debugger.getPossibleBreakpoints', |
|
params?: Debugger.GetPossibleBreakpointsParameterType, |
|
callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void |
|
): void; |
|
post(method: 'Debugger.getPossibleBreakpoints', callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.continueToLocation', params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.continueToLocation', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.pauseOnAsyncCall', params?: Debugger.PauseOnAsyncCallParameterType, 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; |
|
|
|
|
|
|
|
post(method: 'Debugger.stepInto', params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.stepInto', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.stepOut', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.pause', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'Debugger.scheduleStepIntoAsync', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.resume', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'Debugger.getStackTrace', params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; |
|
post(method: 'Debugger.getStackTrace', callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.searchInContent', params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; |
|
post(method: 'Debugger.searchInContent', callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.setScriptSource', params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; |
|
post(method: 'Debugger.setScriptSource', callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.restartFrame', params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; |
|
post(method: 'Debugger.restartFrame', callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.getScriptSource', params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; |
|
post(method: 'Debugger.getScriptSource', callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.setPauseOnExceptions', params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.setPauseOnExceptions', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.evaluateOnCallFrame', params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; |
|
post(method: 'Debugger.evaluateOnCallFrame', callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.setVariableValue', params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.setVariableValue', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'Debugger.setReturnValue', params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.setReturnValue', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Debugger.setAsyncCallStackDepth', params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.setAsyncCallStackDepth', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.setBlackboxPatterns', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Debugger.setBlackboxedRanges', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Console.enable', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Console.disable', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Console.clearMessages', callback?: (err: Error | null) => void): void; |
|
post(method: 'Profiler.enable', callback?: (err: Error | null) => void): void; |
|
post(method: 'Profiler.disable', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Profiler.setSamplingInterval', params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void; |
|
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, params: Profiler.StopReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Profiler.startPreciseCoverage', params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'Profiler.startPreciseCoverage', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Profiler.stopPreciseCoverage', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'Profiler.takePreciseCoverage', callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'Profiler.getBestEffortCoverage', callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'Profiler.startTypeProfile', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'Profiler.stopTypeProfile', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'Profiler.takeTypeProfile', callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void; |
|
post(method: 'HeapProfiler.enable', callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.disable', callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.startTrackingHeapObjects', params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.startTrackingHeapObjects', callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.stopTrackingHeapObjects', params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.stopTrackingHeapObjects', callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.takeHeapSnapshot', params?: HeapProfiler.TakeHeapSnapshotParameterType, 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', |
|
params?: HeapProfiler.GetObjectByHeapObjectIdParameterType, |
|
callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void |
|
): void; |
|
post(method: 'HeapProfiler.getObjectByHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'HeapProfiler.addInspectedHeapObject', params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.addInspectedHeapObject', callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.getHeapObjectId', params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; |
|
post(method: 'HeapProfiler.getHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; |
|
post(method: 'HeapProfiler.startSampling', params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.startSampling', callback?: (err: Error | null) => void): void; |
|
post(method: 'HeapProfiler.stopSampling', callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void; |
|
post(method: 'HeapProfiler.getSamplingProfile', callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'NodeTracing.getCategories', callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void; |
|
|
|
|
|
|
|
post(method: 'NodeTracing.start', params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'NodeTracing.start', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'NodeTracing.stop', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'NodeWorker.sendMessageToWorker', params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'NodeWorker.sendMessageToWorker', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
|
|
post(method: 'NodeWorker.enable', params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'NodeWorker.enable', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'NodeWorker.disable', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'NodeWorker.detach', params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'NodeWorker.detach', callback?: (err: Error | null) => void): void; |
|
|
|
|
|
|
|
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void; |
|
post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void; |
|
|
|
addListener(event: string, listener: (...args: any[]) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Debugger.resumed', listener: () => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; |
|
addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; |
|
addListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; |
|
addListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; |
|
addListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
addListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; |
|
|
|
|
|
|
|
addListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
addListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
addListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
addListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; |
|
emit(event: string | symbol, ...args: any[]): boolean; |
|
emit(event: 'inspectorNotification', message: InspectorNotification<{}>): boolean; |
|
emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean; |
|
emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>): boolean; |
|
emit(event: 'Runtime.executionContextsCleared'): boolean; |
|
emit(event: 'Runtime.exceptionThrown', message: InspectorNotification<Runtime.ExceptionThrownEventDataType>): boolean; |
|
emit(event: 'Runtime.exceptionRevoked', message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>): boolean; |
|
emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>): boolean; |
|
emit(event: 'Runtime.inspectRequested', message: InspectorNotification<Runtime.InspectRequestedEventDataType>): boolean; |
|
emit(event: 'Debugger.scriptParsed', message: InspectorNotification<Debugger.ScriptParsedEventDataType>): boolean; |
|
emit(event: 'Debugger.scriptFailedToParse', message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>): boolean; |
|
emit(event: 'Debugger.breakpointResolved', message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>): boolean; |
|
emit(event: 'Debugger.paused', message: InspectorNotification<Debugger.PausedEventDataType>): boolean; |
|
emit(event: 'Debugger.resumed'): boolean; |
|
emit(event: 'Console.messageAdded', message: InspectorNotification<Console.MessageAddedEventDataType>): boolean; |
|
emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>): boolean; |
|
emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>): boolean; |
|
emit(event: 'HeapProfiler.addHeapSnapshotChunk', message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>): boolean; |
|
emit(event: 'HeapProfiler.resetProfiles'): boolean; |
|
emit(event: 'HeapProfiler.reportHeapSnapshotProgress', message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean; |
|
emit(event: 'HeapProfiler.lastSeenObjectId', message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean; |
|
emit(event: 'HeapProfiler.heapStatsUpdate', message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean; |
|
emit(event: 'NodeTracing.dataCollected', message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean; |
|
emit(event: 'NodeTracing.tracingComplete'): boolean; |
|
emit(event: 'NodeWorker.attachedToWorker', message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean; |
|
emit(event: 'NodeWorker.detachedFromWorker', message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean; |
|
emit(event: 'NodeWorker.receivedMessageFromWorker', message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean; |
|
emit(event: 'NodeRuntime.waitingForDisconnect'): boolean; |
|
on(event: string, listener: (...args: any[]) => void): this; |
|
|
|
|
|
|
|
on(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Runtime.executionContextsCleared', listener: () => void): this; |
|
|
|
|
|
|
|
on(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Debugger.resumed', listener: () => void): this; |
|
|
|
|
|
|
|
on(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; |
|
on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; |
|
on(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; |
|
on(event: 'HeapProfiler.resetProfiles', listener: () => void): this; |
|
on(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
on(event: 'NodeTracing.tracingComplete', listener: () => void): this; |
|
|
|
|
|
|
|
on(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
on(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
on(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
on(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; |
|
once(event: string, listener: (...args: any[]) => void): this; |
|
|
|
|
|
|
|
once(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Runtime.executionContextsCleared', listener: () => void): this; |
|
|
|
|
|
|
|
once(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Debugger.resumed', listener: () => void): this; |
|
|
|
|
|
|
|
once(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; |
|
once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; |
|
once(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; |
|
once(event: 'HeapProfiler.resetProfiles', listener: () => void): this; |
|
once(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
once(event: 'NodeTracing.tracingComplete', listener: () => void): this; |
|
|
|
|
|
|
|
once(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
once(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
once(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
once(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; |
|
prependListener(event: string, listener: (...args: any[]) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Debugger.resumed', listener: () => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; |
|
prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; |
|
prependListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; |
|
prependListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; |
|
prependListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
prependListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
prependListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
prependListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; |
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Debugger.resumed', listener: () => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this; |
|
prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this; |
|
prependOnceListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this; |
|
prependOnceListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this; |
|
prependOnceListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
prependOnceListener(event: 'NodeTracing.tracingComplete', listener: () => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
prependOnceListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
prependOnceListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this; |
|
|
|
|
|
|
|
|
|
|
|
|
|
prependOnceListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this; |
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function open(port?: number, host?: string, wait?: boolean): Disposable; |
|
|
|
|
|
|
|
function close(): void; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function url(): string | undefined; |
|
|
|
|
|
|
|
|
|
|
|
|
|
function waitForDebugger(): void; |
|
} |
|
|
|
|
|
|
|
declare module 'node:inspector' { |
|
import inspector = require('inspector'); |
|
export = inspector; |
|
} |
|
|