diff options
| -rw-r--r-- | .vscode/launch.json | 11 | ||||
| -rw-r--r-- | .vscode/tasks.json | 17 |
2 files changed, 26 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index ff1f142a..be8f2983 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,7 +2,16 @@ "version": "0.2.0", "configurations": [ { - "name": "Debug (Local)", + "name": "Run (Remote)", + "type": "python", + "request": "launch", + "console": "integratedTerminal", + "preLaunchTask": "remoterun", + "cwd": "", + "program": "", + }, + { + "name": "Run (Local)", "type": "python", "request": "launch", "program": "${workspaceFolder}/backend/main.py", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 3f0f64fd..9377a7e8 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -20,6 +20,18 @@ "problemMatcher": [] }, { + "label": "remoterun", + "type": "shell", + "group": "none", + "dependsOn": [ + "updateremote", + "runpydeck" + ], + "detail": "Task for remote run launches", + "command": "exit 0", + "problemMatcher": [] + }, + { "label": "dependencies", "type": "shell", "group": "none", @@ -122,7 +134,10 @@ "label": "allinone", "detail": "Build, deploy and run", "dependsOrder": "sequence", - "group": "none", + "group": { + "kind": "build", + "isDefault": true + }, "dependsOn": [ "buildall", "deployall", |
