set_breakpoint
Set a breakpoint at a specific script URL and line number for debugging JavaScript execution. Supports exact URL or regex matching and optional conditions.
Instructions
Set a breakpoint at a URL + line number. Supports exact URL match or regex. Returns a breakpointId to use with remove_breakpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Exact script URL, or omit to use urlRegex | |
| lineNumber | Yes | Line number (1-indexed) | |
| columnNumber | No | Column number (optional) | |
| condition | No | JS expression; breakpoint triggers only when truthy | |
| urlRegex | No | URL regex pattern (alternative to exact url) |