Files

72 lines
2.2 KiB
JSON
Raw Permalink Normal View History

2025-09-26 17:15:54 +08:00
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Agentic RAG Service",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/debug_service.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
},
"args": [],
"justMyCode": false,
"stopOnEntry": false
},
{
"name": "Debug Service with uvicorn",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": [
"service.main:app",
"--host", "0.0.0.0",
"--port", "8000",
"--reload",
"--log-level", "debug"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
},
"justMyCode": false,
"stopOnEntry": false
},
{
"name": "Run Tests",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": [
"-v",
"tests/"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
},
"justMyCode": false
},
{
"name": "Run Streaming Test",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/scripts/test_real_streaming.py",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}",
"CONFIG_FILE": "${workspaceFolder}/config.yaml"
},
"justMyCode": false
}
]
}