You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/troubleshooting/SKILL.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,24 @@ Interpret the configuration to identify potential issues such as:
16
16
- Missing environment variables.
17
17
- Usage of `--autoConnect` in incompatible environments.
18
18
19
-
### Step 2: Determine the Exact Error
19
+
### Step 2: Triage Common Connection Errors
20
20
21
-
Identify the exact error message from the failed tool call or the MCP initialization logs. Look for common errors such as:
21
+
Before reading documentation or suggesting configuration changes, check if the error message matches one of the following common patterns.
22
+
23
+
#### Error: `Could not find DevToolsActivePort`
24
+
25
+
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.
26
+
27
+
Your primary goal is to guide the user to ensure Chrome is running and properly configured. Do not immediately suggest switching to `--browserUrl`. Follow this exact sequence:
28
+
29
+
1.**Ask the user to confirm that the correct Chrome version** (e.g., "Chrome Canary" if the error mentions it) is currently running.
30
+
2.**If the user confirms it is running, instruct them to enable remote debugging.** Be very specific about the URL and the action: "Please open a new tab in Chrome, navigate to `chrome://inspect/#remote-debugging`, and make sure the 'Enable remote debugging' checkbox is checked."
31
+
3.**Once the user confirms both steps, your only next action should be to call the `list_pages` tool.** This is the simplest and safest way to verify if the connection is now successful. Do not retry the original, more complex command yet.
32
+
4.**If `list_pages` succeeds, the problem is resolved.** If it still fails with the same error, then you can proceed to the more advanced steps like suggesting `--browserUrl` or checking for sandboxing issues.
33
+
34
+
#### Other Common Errors
35
+
36
+
Identify other error messages from the failed tool call or the MCP initialization logs:
22
37
23
38
-`Target closed`
24
39
- "Tool not found" (check if they are using `--slim` which only enables navigation and screenshot tools).
0 commit comments