chore: auto-assign per-worktree backend port via VS Code folderOpen task

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Abhishek Kumar 2026-06-30 15:05:08 +05:30
parent 6937e01b49
commit 58af010e60
4 changed files with 108 additions and 1 deletions

2
.vscode/launch.json vendored
View file

@ -23,6 +23,8 @@
"api.app:app",
"--reload",
"--host", "0.0.0.0"
// Port comes from UVICORN_PORT in api/.env (per-worktree);
// unset -> uvicorn's default 8000. See scripts/worktree-assign-port.sh.
],
"cwd": "${workspaceFolder}",
"envFile": "${workspaceFolder}/api/.env",