From 5aa358c27b319ba13fb0082c5347453f6453b423 Mon Sep 17 00:00:00 2001 From: RndName Date: Wed, 16 Mar 2022 21:50:56 +0100 Subject: [PATCH] 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 --- .vscode/launch.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index fde0564f..612dad0f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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",