Files
SUST/sustApp/launch.json
T
2026-06-25 11:19:08 +02:00

79 lines
2.0 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}/react-frontend/src",
"sourceMaps": true
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": true,
"cwd": "${workspaceFolder}/sustApp"
},
{
"name": "Python: print_payment_slips.py",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/sustApp/print_payment_slips.py",
"console": "integratedTerminal",
"justMyCode": true,
"cwd": "${workspaceFolder}/sustApp",
"env": {
"PYTHONPATH": "${workspaceFolder}"
}
},
{
"name": "Python: FastAPI (uvicorn)",
"type": "python",
"request": "launch",
"module": "uvicorn",
"args": [
"main:app",
"--reload",
"--host",
"127.0.0.1",
"--port",
"8000"
],
"console": "integratedTerminal",
"justMyCode": true,
"cwd": "${workspaceFolder}/sustApp",
"env": {
"PYTHONPATH": "${workspaceFolder}"
}
},
{
"name": "Python: convert_payment_export_csv.py",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/sustApp/convert_payment_export_csv.py",
"console": "integratedTerminal",
"justMyCode": true,
"cwd": "${workspaceFolder}/sustApp",
"env": {
"PYTHONPATH": "${workspaceFolder}"
}
},
{
"name": "Python: Debug with Arguments",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
"cwd": "${workspaceFolder}/sustApp",
"env": {
"PYTHONPATH": "${workspaceFolder}"
},
"args": []
}
]
}