set_breakpoint
Sets a breakpoint by URL and zero-based line number in Electron apps so you can pause execution and inspect runtime state.
Instructions
Debugger.setBreakpointByUrl (0-based lineNumber). Keep debugger enabled while BPs exist.
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": {
"lineNumber": "<lineNumber>"
},
"name": "set_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| targetId | No | ||
| urlRegex | No | ||
| processId | No | Process ID. If omitted, uses the single running app. | |
| lineNumber | Yes | ||
| columnNumber | No |