puppeteer/new-docs/puppeteer.protocol.debugger.md
Maksim Sadym 62ac167339
feat(chromium): roll Chromium to r800071 (#6407)
* roll Chromium to version 86, r800071
* roll Chrome DevTools protocol version to 0.0.799653
* fix HTTPRequest.continue after
  * CDP: accept post data in the binary form in Fetch.continueRequest.
    https://chromium-review.googlesource.com/c/chromium/src/+/2315239
* update new-docs
2020-09-09 21:23:46 +02:00

7.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 

Enumerations

Enumeration Description
BreakLocationType
ContinueToLocationRequestTargetCallFrames
DebugSymbolsType
PausedEventReason
ScopeType
SetInstrumentationBreakpointRequestInstrumentation
SetPauseOnExceptionsRequestState

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.
LocationRange Location range within one script.
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
StepOverRequest

Type Aliases

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