From b1a5a33e22195206cd1bf118ebb954ab8b2a861e Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Thu, 25 Jun 2020 12:30:05 +0200
Subject: [PATCH] Flask independent launcher.

---
 .vscode/launch.json | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/.vscode/launch.json b/.vscode/launch.json
index 87280d3..cb110ca 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -5,19 +5,11 @@
     "version": "0.2.0",
     "configurations": [
         {
-            "name": "Start Engine API",
+            "name": "API Server (Development)",
             "type": "python",
             "request": "launch",
-            "stopOnEntry": false,
-            // "cwd": "${workspaceRoot}",
-            "program": "${workspaceRoot}/src/server.py",
-            "env": {
-                "FLASK_APP": "${workspaceRoot}/src/server.py",
-                "FLASK_ENV": "development"
-            }
-            // "args": [
-            //     "-m"
-            // ]
+            "program": "${workspaceFolder}/src/server.py",
+            "console": "integratedTerminal"
         }
     ]
 }
\ No newline at end of file
-- 
GitLab