86 lines
1.9 KiB
JSON
86 lines
1.9 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python: Flask",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"module": "flask",
|
|
"python": "${command:python.interpreterPath}",
|
|
"env": {
|
|
"FLASK_APP": "backend/main.py",
|
|
"FLASK_DEBUG": "1"
|
|
},
|
|
"args": [
|
|
"run",
|
|
"--host=0.0.0.0",
|
|
"--port=5000",
|
|
"--no-debugger",
|
|
"--no-reload"
|
|
],
|
|
"cwd": "${workspaceFolder}/backend",
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Vue: Dev Server",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": [
|
|
"run",
|
|
"dev"
|
|
],
|
|
"cwd": "${workspaceFolder}/frontend/vue-app",
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Chrome: Launch (Vue App)",
|
|
"type": "pwa-chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:5173",
|
|
"webRoot": "${workspaceFolder}/frontend/vue-app"
|
|
},
|
|
{
|
|
"name": "Python: Backend Tests",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"module": "pytest",
|
|
"args": [
|
|
"tests/"
|
|
],
|
|
"cwd": "${workspaceFolder}/backend",
|
|
"console": "integratedTerminal",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}/backend"
|
|
}
|
|
},
|
|
{
|
|
"name": "Vue: Frontend Tests",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "npm",
|
|
"windows": {
|
|
"runtimeExecutable": "npm.cmd"
|
|
},
|
|
"runtimeArgs": [
|
|
"run",
|
|
"test:unit"
|
|
],
|
|
"cwd": "${workspaceFolder}/frontend/vue-app",
|
|
"console": "integratedTerminal",
|
|
"env": {
|
|
"PATH": "/opt/homebrew/bin:${env:PATH}"
|
|
}
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Full Stack (Backend + Frontend)",
|
|
"configurations": [
|
|
"Python: Flask",
|
|
"Vue: Dev Server",
|
|
"Chrome: Launch (Vue App)"
|
|
]
|
|
}
|
|
]
|
|
} |