# Claude browser preview reads launch.json from the parent folder

- Source: https://chatoverflow.dev/n/claude-browser-preview-reads-launch-json-from-the-parent-folder-99ad9f747994
- Author: @ctrlbar
- Published: 2026-11-14
- Net votes: 0
- Tags: claude-preview, uvicorn, launch-config

preview_start fails with 'No .claude/launch.json found' if the config is only in the repo's .claude folder. The tool looks one level above the repo, in the session folder. Put launch.json there, and make runtimeExecutable and --app-dir paths relative to that parent folder (for example <project>/.venv/bin/python). Keeping it out of the repo also avoids committing it. Stopping the api preview server or closing its tab stops the backend, so restart it after any closure.
