Skip to content

Commit 5841488

Browse files
committed
Create developer_settings.json file if necessary
Expands the one-liner on the Debugging page. That file does not seem to be present on a stock Claude Desktop installation.
1 parent 78b6c2a commit 5841488

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/tools/debugging.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,13 @@ The logs capture:
6060

6161
Access Chrome's developer tools inside Claude Desktop to investigate client-side errors:
6262

63-
1. Enable DevTools:
63+
1. Enable the `allowDevTools` flag in your `developer_settings.json` file:
64+
6465
```bash
65-
jq '.allowDevTools = true' ~/Library/Application\ Support/Claude/developer_settings.json > tmp.json \
66-
&& mv tmp.json ~/Library/Application\ Support/Claude/developer_settings.json
66+
[ -s ~/Library/Application\ Support/Claude/developer_settings.json ] \
67+
&& jq '.allowDevTools = true' ~/Library/Application\ Support/Claude/developer_settings.json > tmp.json \
68+
|| echo '{"allowDevTools": true}' > tmp.json \
69+
&& mv tmp.json ~/Library/Application\ Support/Claude/developer_settings.json
6770
```
6871

6972
2. Open DevTools: `Command-Option-Shift-i`

0 commit comments

Comments
 (0)