Skip to content

Debugger

Domain: debugger

CDP-based debugging domain covering breakpoints, stepping, call stacks, watches, debugger sessions, and anti-anti-debug.

Profiles

  • workflow
  • full

Typical scenarios

  • Set and hit breakpoints
  • Evaluate expressions in frames
  • Save and restore debugger sessions
  • Bypass anti-debugging protections

Common combinations

  • debugger + browser
  • debugger + instrumentation

Full tool list (18)

ToolDescription
debugger_lifecycleEnable or disable the CDP debugger session.
debugger_pausePause execution at the next statement.
debugger_resumeResume execution.
debugger_stepStep execution: into (enter next call), over (skip next call), out (exit current function).
breakpointManage breakpoints: code (line/script), XHR (URL pattern), event listener, event category, and exception breakpoints.
get_call_stackGet the current call stack.
debugger_evaluateEvaluate a JavaScript expression. context="frame" evaluates in the current call frame (requires paused state); context="global" evaluates in the global context (no pause required).
debugger_wait_for_pausedWait for debugger pause after setting breakpoints.
debugger_get_paused_stateGet current paused state and reason.
get_object_propertiesGet properties of an object by objectId.
get_scope_variables_enhancedEnhanced scope variable inspection with deep object traversal.
debugger_sessionManage debugger sessions. Actions: save (persist current session to file), load (restore session from file/JSON), export (export session as JSON string), list (list saved sessions in ./debugger-sessions/).
watchManage watch expressions for monitoring variable values during debugging.
blackbox_addBlackbox scripts (skip during debugging)
blackbox_add_commonBlackbox all common libraries (one-click)
blackbox_listList script blackbox patterns.
antidebug_bypassBypass one or more anti-debug protection types. Specify types to apply; omit or use ["all"] to apply all bypasses. Types: all, debugger_statement, timing, stack_trace, console_detect.
antidebug_detect_protectionsDetect anti-debug protections in current page with bypass recommendations.

Released under AGPL-3.0-only