Set breakpoint
set_breakpointSet a breakpoint at a specific line number in scripts whose URL matches a given regex, enabling precise debugging pauses.
Instructions
Set a breakpoint by matching a script URL with a regex.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urlRegex": "<urlRegex>",
"lineNumber": "<lineNumber>"
},
"name": "set_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urlRegex | Yes | Regex matching the script URL (e.g. 'src/foo\\.ts') | |
| lineNumber | Yes | 0-based line number |