Simplify JSON for installing dev tools

This commit is contained in:
Jamie Dubs 2025-01-22 11:33:19 -05:00 • committed by GitHub
commit 9a25335d40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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