File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change 77- When configuring your MCP client, try using the ` --yes ` argument to ` npx ` to
88 auto-accept installation prompt.
99- Find a specific error in the output of the ` chrome-devtools-mcp ` server.
10- Usually, if you client is an IDE, logs would be in the Output pane.
10+ Usually, if your client is an IDE, logs would be in the Output pane.
11+
12+ ## Debugging
13+
14+ Start the MCP server with debugging enabled and a log file:
15+
16+ - ` DEBUG=* npx chrome-devtools-mcp@latest --log-file=/path/to/chrome-devtools-mcp.log `
17+
18+ Using ` .mcp.json ` to debug while using a client:
19+
20+ ``` json
21+ {
22+ "mcpServers" : {
23+ "chrome-devtools" : {
24+ "type" : " stdio" ,
25+ "command" : " npx" ,
26+ "args" : [
27+ " chrome-devtools-mcp@latest" ,
28+ " --log-file" ,
29+ " /path/to/chrome-devtools-mcp.log"
30+ ],
31+ "env" : {
32+ "DEBUG" : " *"
33+ }
34+ }
35+ }
36+ }
37+ ```
1138
1239## Specific problems
1340
You can’t perform that action at this time.
0 commit comments