attach
Connect to an already-running Electron or Chromium app started with --remote-debugging-port, using its debug port to enable debugging.
Instructions
Attach to an already-running Electron/Chromium app that was started with --remote-debugging-port. Example: {"debugPort":9222}
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": {
"debugPort": "<debugPort>"
},
"name": "attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional friendly name for this attached session | |
| debugPort | Yes | Remote debugging port the app is listening on |