Add VSCode launch config for dev server

Added args and env according to the readme file. Developer still needs to run npm run start from the client dir
This commit is contained in:
RndName 2022-03-16 21:50:56 +01:00
parent 1207b082dc
commit 5aa358c27b
No known key found for this signature in database
GPG Key ID: 5EF516FD9537F7C0

13
.vscode/launch.json vendored
View File

@ -15,6 +15,19 @@
},
"preLaunchTask": "Prepare Environment"
},
{
"name": "Python: Debug",
"type": "python",
"request": "launch",
"program": "qt_ui\\main.py",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": ".;./pydcs",
"CORS_ALLOW_DEBUG_SERVER": "true"
},
"args": ["--new-map", "--dev"],
"preLaunchTask": "Prepare Environment"
},
{
"name": "Python: Make Release",
"type": "python",