Added a handler to send the client errors to the backend. Updated the launch settings to reload the fastapi app on file changes.

This commit is contained in:
2026-09-02 02:35:53 +00:00
parent cf680cd254
commit 6cf42d3641
9 changed files with 311 additions and 5 deletions
+20 -1
View File
@@ -18,7 +18,26 @@
"module": "barker",
"args": [],
"cwd": "${workspaceFolder}/barker",
"justMyCode": true
"justMyCode": true,
"envFile": "${workspaceFolder}/.env"
},
{
"name": "Python: FastAPI (Live Reload)",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": [
"barker.main:app",
"--host",
"127.0.0.1",
"--port",
"8000",
"--reload"
],
"cwd": "${workspaceFolder}/barker",
"subProcess": true,
"justMyCode": true,
"envFile": "${workspaceFolder}/.env"
}
]
}