Skip to content

Commit 4c893d2

Browse files
committed
fix: add error quick-reference table to troubleshooting skill
Add a quick-reference table mapping common error messages to causes and first actions so the model can resolve frequent issues immediately without needing to fetch remote documentation.
1 parent 7c9ff36 commit 4c893d2

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

skills/troubleshooting/SKILL.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ If you cannot find any of these files, only then should you ask the user to prov
2323

2424
Before reading documentation or suggesting configuration changes, check if the error message matches one of the following common patterns.
2525

26+
#### Quick Reference
27+
28+
| Error / Symptom | Likely Cause | First Action |
29+
|---|---|---|
30+
| `Could not find DevToolsActivePort` | `--autoConnect`: Chrome not running or remote debugging not enabled | Ask user to open `chrome://inspect/#remote-debugging` and enable it |
31+
| `Target closed` | Browser could not start; another Chrome instance may be running | Close other Chrome instances, verify Chrome is installed |
32+
| `ProtocolError: Network.enable timed out` / `socket connection was closed unexpectedly` | `--autoConnect` handshake failure | Verify Chrome 144+ is running, remote debugging is enabled, and no other tool occupies the debug port |
33+
| `Error [ERR_MODULE_NOT_FOUND]: Cannot find module` | Corrupted npm/npx cache or unsupported Node version | Clear cache: `rm -rf ~/.npm/_npx && npm cache clean --force` |
34+
| "Tool not found" | Server started with `--slim` flag | Remove `--slim` from config to enable all tools |
35+
| Server starts but creates a new empty profile | Typo in flags (e.g., `--autoBronnect`) | Check config for flag typos |
36+
| Sandbox / permission errors on macOS | MCP client Seatbelt sandbox blocks Chrome | Disable sandbox for `chrome-devtools-mcp` or use `--browser-url` with manually launched Chrome |
37+
| Connection fails from VM to host | Chrome rejects connection due to Host header validation | Create SSH tunnel: `ssh -N -L 127.0.0.1:9222:127.0.0.1:9222 user@host` |
38+
2639
#### Error: `Could not find DevToolsActivePort`
2740

2841
This error is highly specific to the `--autoConnect` feature. It means the MCP server cannot find the file created by a running, debuggable Chrome instance. This is not a generic connection failure.

0 commit comments

Comments
 (0)