{ "version": "0.2.0", "configurations": [ { "name": "Chrome: Debug Angular Frontend", "description": "Debug the Angular Dev Frontend in Chrome", "type": "chrome", "request": "launch", "url": "http://localhost:4200", "webRoot": "${workspaceFolder}/src-ui", "preLaunchTask": "Start: Frontend Angular" }, { "name": "Debug: Backend Server (manage.py runserver)", "description": "Debug the Django Backend Server", "type": "python", "request": "launch", "program": "${workspaceFolder}/src/manage.py", "args": [ "runserver" ], "django": true, "console": "integratedTerminal", "env": { "PYTHONPATH": "${workspaceFolder}/src" }, "python": "${workspaceFolder}/.venv/bin/python" }, { "name": "Debug: Consumer Service (manage.py document_consumer)", "description": "Debug the Consumer Service which processes files from a directory", "type": "python", "request": "launch", "program": "${workspaceFolder}/src/manage.py", "args": [ "document_consumer" ], "django": true, "console": "integratedTerminal", "env": { "PYTHONPATH": "${workspaceFolder}/src" }, "python": "${workspaceFolder}/.venv/bin/python" } ], "compounds": [ { "name": "Debug: FullStack", "description": "Debug run the Angular dev frontend, Django backend, and consumer service", "configurations": [ "Chrome: Debug Angular Frontend", "Debug: Backend Server (manage.py runserver)", "Debug: Consumer Service (manage.py document_consumer)" ], "preLaunchTask": "Start: Celery Worker" } ] }