puppeteer/new-docs/puppeteer.protocol.debugger.md
2020-07-13 14:01:35 +01:00

6.0 KiB

Home > puppeteer > Protocol > Debugger

Protocol.Debugger namespace

Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.

Signature:

export namespace Debugger 

Interfaces

Interface Description
BreakLocation
BreakpointResolvedEvent Fired when breakpoint is resolved to an actual script and location.
CallFrame JavaScript call frame. Array of call frames form the call stack.
ContinueToLocationRequest
DebugSymbols Debug symbols available for a wasm script.
EnableRequest
EnableResponse
EvaluateOnCallFrameRequest
EvaluateOnCallFrameResponse
ExecuteWasmEvaluatorRequest
ExecuteWasmEvaluatorResponse
GetPossibleBreakpointsRequest
GetPossibleBreakpointsResponse
GetScriptSourceRequest
GetScriptSourceResponse
GetStackTraceRequest
GetStackTraceResponse
GetWasmBytecodeRequest
GetWasmBytecodeResponse
Location Location in the source code.
PausedEvent Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
PauseOnAsyncCallRequest
RemoveBreakpointRequest
RestartFrameRequest
RestartFrameResponse
ResumeRequest
Scope Scope description.
ScriptFailedToParseEvent Fired when virtual machine fails to parse the script.
ScriptParsedEvent Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
ScriptPosition Location in the source code.
SearchInContentRequest
SearchInContentResponse
SearchMatch Search match for resource.
SetAsyncCallStackDepthRequest
SetBlackboxedRangesRequest
SetBlackboxPatternsRequest
SetBreakpointByUrlRequest
SetBreakpointByUrlResponse
SetBreakpointOnFunctionCallRequest
SetBreakpointOnFunctionCallResponse
SetBreakpointRequest
SetBreakpointResponse
SetBreakpointsActiveRequest
SetInstrumentationBreakpointRequest
SetInstrumentationBreakpointResponse
SetPauseOnExceptionsRequest
SetReturnValueRequest
SetScriptSourceRequest
SetScriptSourceResponse
SetSkipAllPausesRequest
SetVariableValueRequest
StepIntoRequest

Type Aliases

Type Alias Description
BreakpointId Breakpoint identifier.
CallFrameId Call frame identifier.
ScriptLanguage Enum of possible script languages.