electron_connect
Establish connections to a running Electron app's renderer (CDP) and main process (V8 Inspector) ports for debugging and automation.
Instructions
Connect to a running Electron app on both CDP (renderer) and V8 Inspector (main process) ports.
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": {
"cdp_port": "<cdp_port>",
"v8_port": "<v8_port>"
},
"name": "electron_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v8_port | Yes | V8 Inspector port (from electron_setup output) | |
| cdp_port | Yes | CDP port (from electron_setup output) | |
| connection_id | No | Connection ID (default: "electron") |