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

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

Node (V8)

Safari iOS 10.0

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

Events

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

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
scriptParsed scriptParsed scriptParsed scriptParsed scriptParsed scriptParsed
didSampleProbe didSampleProbe
globalObjectCleared globalObjectCleared
playBreakpointActionSound playBreakpointActionSound

Types

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

Node (V8)

Safari iOS 10.0

BreakLocation BreakLocation BreakLocation BreakLocation BreakLocation
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
ScriptPosition ScriptPosition ScriptPosition
SearchMatch SearchMatch SearchMatch
CollectionEntry
FunctionDetails FunctionDetails
GeneratorObjectDetails
SetScriptSourceError
AssertPauseReason AssertPauseReason
BreakpointAction BreakpointAction
BreakpointActionIdentifier BreakpointActionIdentifier
BreakpointOptions BreakpointOptions
BreakpointPauseReason BreakpointPauseReason
CSPViolationPauseReason CSPViolationPauseReason
ProbeSample ProbeSample
ScriptId ScriptId