Skip to content

Commit 0691d71

Browse files
committed
docs: Update troubleshooting guide to recommend and correct usage of --logFile for capturing debug logs.
1 parent b71499b commit 0691d71

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

skills/troubleshooting/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Based on the exact error and the user's environment (OS, MCP client), formulate
3232
- Pass `--browser-url=http://127.0.0.1:9222` instead of `--autoConnect` (e.g. if they are in a sandboxed environment like Claude Desktop).
3333
- Remove `--enableCategoryExtensions` if using `--autoConnect`.
3434
- Enable remote debugging in Chrome (`chrome://inspect/#remote-debugging`) and accept the connection prompt.
35+
- Add `--logFile <absolute_path_to_log_file>` to capture debug logs for analysis.
3536

3637
_If you are unsure of the user's configuration, ask the user to provide their current MCP server JSON configuration._
3738

@@ -40,7 +41,7 @@ _If you are unsure of the user's configuration, ask the user to provide their cu
4041
If the issue is still unclear, run diagnostic commands to test the server directly:
4142

4243
- `npx chrome-devtools-mcp@latest --help` (to verify the installation and Node.js environment)
43-
- Ask the user to run `DEBUG=* npx chrome-devtools-mcp@latest --log-file=/tmp/cdm-test.log` to capture verbose logs if they are attempting to run it from an IDE or different environment.
44+
- Ask the user to run `DEBUG=* npx chrome-devtools-mcp@latest --logFile=/tmp/cdm-test.log` to capture verbose logs if they are attempting to run it from an IDE or different environment.
4445

4546
### Step 5: Check GitHub for Existing Issues
4647

0 commit comments

Comments
 (0)