Debugger
This page documents the Debugger CDP domain supported by Lynx DevTool.
Experimental reference
This generated reference is still being completed.
- CDP events are not included yet.
- Some Lynx extensions are listed but do not yet have detailed documentation.
- Method descriptions are not automatically verified against the implementation and may be incomplete or inaccurate.
Verify behavior against the implementation and the linked upstream CDP reference before relying on it.
Overview
- Scope:
instance - CDP domain: Debugger
Standard Methods
- Debugger.continueToLocation
- Debugger.disable
- Debugger.enable
- Debugger.evaluateOnCallFrame
- Debugger.getPossibleBreakpoints
- Debugger.getScriptSource
- Debugger.pause
- Debugger.removeBreakpoint
- Debugger.resume
- Debugger.setAsyncCallStackDepth
- Debugger.setBreakpoint
- Debugger.setBreakpointByUrl
- Debugger.setBreakpointsActive
- Debugger.setPauseOnExceptions
- Debugger.setSkipAllPauses
- Debugger.setVariableValue
- Debugger.stepInto
- Debugger.stepOut
- Debugger.stepOver
Lynx Extensions
Debugger.stopAtEntry
Pauses PrimJS execution at the next available statement.
- Origin:
lynx-extension - Source:
third_party/quickjs/src/src/inspector/protocols.cc
Parameters
No parameters.
Returns
No return fields.
Events
- Debugger.paused
Notes
- This Lynx extension is implemented by the PrimJS inspector method map.
- The handler does not send a normal CDP response with id and result fields.
- The handler sends Debugger.paused through the pause-on-next-statement path. If no explicit pause reason is stored, the paused event uses stopAtEntry as the reason.
- V8 stop-at-entry behavior is controlled through the V8 Inspector integration and is not represented by this Lynx-extension method.
Examples
Pause at entry
Request:
Response: