52 lines
1016 B
JSON
52 lines
1016 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "FastAPI Backend",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"module": "uvicorn",
|
|
"args": [
|
|
"api:app",
|
|
"--host",
|
|
"127.0.0.1",
|
|
"--port",
|
|
"8000",
|
|
"--reload"
|
|
],
|
|
"jinja": true,
|
|
"justMyCode": false,
|
|
"cwd": "${workspaceFolder}/webui",
|
|
"console": "integratedTerminal",
|
|
"env": {
|
|
"PYTHONUNBUFFERED": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Svelte Frontend",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": [
|
|
"run",
|
|
"dev"
|
|
],
|
|
"cwd": "${workspaceFolder}/webui/frontend",
|
|
"console": "integratedTerminal",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
]
|
|
},
|
|
{
|
|
"name": "Run Both Servers",
|
|
"type": "compound",
|
|
"configurations": [
|
|
"FastAPI Backend",
|
|
"Svelte Frontend"
|
|
],
|
|
"stopAll": true
|
|
}
|
|
]
|
|
}
|
|
|