debug_localhost
Launch a browser on a localhost port and automatically connect debugging tools to inspect frontend and backend processes in real time.
Instructions
Launch browser with a localhost URL and automatically connect for debugging
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": {
"port": "<port>"
},
"name": "debug_localhost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional path after the port (e.g., "/admin") | / |
| port | Yes | The localhost port to debug (e.g., 3000, 8080) | |
| protocol | No | Protocol to use (default: http) | http |
| debugPort | No | Chrome DevTools debugging port (default: 9222) | |
| executablePath | No | Path to Chrome/Chromium executable (auto-detected if not provided) |