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.
This commit is contained in:
Jamie Dubs 2025-01-15 11:37:10 -05:00
commit 5841488cfa
No known key found for this signature in database

View file

@ -60,10 +60,13 @@ The logs capture:
Access Chrome's developer tools inside Claude Desktop to investigate client-side errors:
1. Enable DevTools:
1. Enable the `allowDevTools` flag in your `developer_settings.json` file:
```bash
jq '.allowDevTools = true' ~/Library/Application\ Support/Claude/developer_settings.json > tmp.json \
&& mv tmp.json ~/Library/Application\ Support/Claude/developer_settings.json
[ -s ~/Library/Application\ Support/Claude/developer_settings.json ] \
&& jq '.allowDevTools = true' ~/Library/Application\ Support/Claude/developer_settings.json > tmp.json \
|| echo '{"allowDevTools": true}' > tmp.json \
&& mv tmp.json ~/Library/Application\ Support/Claude/developer_settings.json
```
2. Open DevTools: `Command-Option-Shift-i`