Debugger

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

Common API Experimental API Not implemented

RemoteDebug Core

Chrome (CDP 1.2)

Edge

Node (V8)

Safari iOS 10.0

continueToLocation continueToLocation continueToLocation continueToLocation continueToLocation continueToLocation
disable disable disable disable disable disable
enable enable enable enable enable enable
evaluateOnCallFrame evaluateOnCallFrame evaluateOnCallFrame evaluateOnCallFrame evaluateOnCallFrame
getScriptSource getScriptSource getScriptSource getScriptSource getScriptSource getScriptSource
pause pause pause pause pause pause
removeBreakpoint removeBreakpoint removeBreakpoint removeBreakpoint removeBreakpoint removeBreakpoint
restartFrame restartFrame restartFrame restartFrame
resume resume resume resume resume resume
setAsyncCallStackDepth setAsyncCallStackDepth setAsyncCallStackDepth setAsyncCallStackDepth
setBreakpoint setBreakpoint setBreakpoint setBreakpoint setBreakpoint
setBreakpointByUrl setBreakpointByUrl setBreakpointByUrl setBreakpointByUrl setBreakpointByUrl setBreakpointByUrl
setBreakpointsActive setBreakpointsActive setBreakpointsActive setBreakpointsActive setBreakpointsActive
setPauseOnExceptions setPauseOnExceptions setPauseOnExceptions setPauseOnExceptions setPauseOnExceptions
setScriptSource setScriptSource setScriptSource setScriptSource
setSkipAllPauses setSkipAllPauses setSkipAllPauses setSkipAllPauses
setVariableValue setVariableValue setVariableValue setVariableValue
stepInto stepInto stepInto stepInto stepInto stepInto
stepOut stepOut stepOut stepOut stepOut stepOut
stepOver stepOver stepOver stepOver stepOver stepOver
getPossibleBreakpoints getPossibleBreakpoints getPossibleBreakpoints
scheduleStepIntoAsync scheduleStepIntoAsync scheduleStepIntoAsync
searchInContent searchInContent searchInContent searchInContent
setBlackboxPatterns setBlackboxPatterns setBlackboxPatterns
setBlackboxedRanges setBlackboxedRanges setBlackboxedRanges
canSetScriptSource canSetScriptSource
getBacktrace
getCollectionEntries
getFunctionDetails getFunctionDetails
getGeneratorObjectDetails
setOverlayMessage setOverlayMessage

Events

RemoteDebug Core

Chrome (CDP 1.2)

Edge

Node (V8)

Safari iOS 10.0

breakpointResolved breakpointResolved breakpointResolved breakpointResolved breakpointResolved breakpointResolved
paused paused paused paused paused paused
resumed resumed resumed resumed resumed resumed
scriptFailedToParse scriptFailedToParse scriptFailedToParse scriptFailedToParse scriptFailedToParse scriptFailedToParse
scriptParsed scriptParsed scriptParsed scriptParsed scriptParsed scriptParsed
asyncOperationCompleted asyncOperationCompleted
asyncOperationStarted asyncOperationStarted
globalObjectCleared globalObjectCleared globalObjectCleared
promiseUpdated promiseUpdated
didSampleProbe didSampleProbe
playBreakpointActionSound playBreakpointActionSound

Types

RemoteDebug Core

Chrome (CDP 1.2)

Edge

Node (V8)

Safari iOS 10.0

BreakpointId BreakpointId BreakpointId BreakpointId BreakpointId BreakpointId
CallFrame CallFrame CallFrame CallFrame CallFrame CallFrame
CallFrameId CallFrameId CallFrameId CallFrameId CallFrameId CallFrameId
Location Location Location Location Location Location
Scope Scope Scope Scope Scope Scope
BreakLocation BreakLocation BreakLocation
ScriptPosition ScriptPosition ScriptPosition
SearchMatch SearchMatch SearchMatch SearchMatch
CollectionEntry CollectionEntry
FunctionDetails FunctionDetails FunctionDetails
GeneratorObjectDetails GeneratorObjectDetails
SetScriptSourceError SetScriptSourceError
AsyncOperation AsyncOperation
ExceptionDetails ExceptionDetails
PromiseDetails PromiseDetails
ScriptId ScriptId ScriptId
StackTrace StackTrace
AssertPauseReason AssertPauseReason
BreakpointAction BreakpointAction
BreakpointActionIdentifier BreakpointActionIdentifier
BreakpointOptions BreakpointOptions
BreakpointPauseReason BreakpointPauseReason
CSPViolationPauseReason CSPViolationPauseReason
ProbeSample ProbeSample