puppeteer/new-docs/puppeteer.protocol.debugger.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

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