new launch options and renaming existing ones

This commit is contained in:
Orce MARINKOVSKI 2024-12-22 22:08:02 +00:00
parent 2874d81b61
commit 3e57b61472

View File

@ -2,7 +2,14 @@
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "manage.py runserver", "name": "Chrome: Angular Frontend",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4200",
"webRoot": "${workspaceFolder}/src-ui"
},
{
"name": "Debug: Backend(manage.py runserver)",
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/src/manage.py", "program": "${workspaceFolder}/src/manage.py",
@ -12,7 +19,7 @@
"django": true "django": true
}, },
{ {
"name": "manage.py document_consumer", "name": "Debug: Consumer Service (manage.py document_consumer)",
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/src/manage.py", "program": "${workspaceFolder}/src/manage.py",
@ -22,7 +29,7 @@
"django": true "django": true
}, },
{ {
"name": "celery", "name": "Debug: Celery Service",
"type": "python", "type": "python",
"cwd": "${workspaceFolder}/src", "cwd": "${workspaceFolder}/src",
"request": "launch", "request": "launch",
@ -38,6 +45,24 @@
"-l", "-l",
"DEBUG" "DEBUG"
] ]
},
{
"name": "Debug: Angular Frontend",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/src-ui/node_modules/.bin/npm",
"args": ["start"],
"console": "integratedTerminal"
},
{
"name": "Debug: FullStack",
"type": "compound",
"configurations": [
"manage.py runserver",
"manage.py document_consumer",
"celery",
"npm start"
]
} }
] ]
} }