Added remote launch option

This commit is contained in:
TrainDoctor
2022-06-21 13:49:12 -07:00
parent ce23534ccc
commit 1d5d14b492
2 changed files with 26 additions and 2 deletions
+10 -1
View File
@@ -2,7 +2,16 @@
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Debug (Local)", "name": "Run (Remote)",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"preLaunchTask": "remoterun",
"cwd": "",
"program": "",
},
{
"name": "Run (Local)",
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/backend/main.py", "program": "${workspaceFolder}/backend/main.py",
+16 -1
View File
@@ -19,6 +19,18 @@
"command": "mkdir -p plugins", "command": "mkdir -p plugins",
"problemMatcher": [] "problemMatcher": []
}, },
{
"label": "remoterun",
"type": "shell",
"group": "none",
"dependsOn": [
"updateremote",
"runpydeck"
],
"detail": "Task for remote run launches",
"command": "exit 0",
"problemMatcher": []
},
{ {
"label": "dependencies", "label": "dependencies",
"type": "shell", "type": "shell",
@@ -122,7 +134,10 @@
"label": "allinone", "label": "allinone",
"detail": "Build, deploy and run", "detail": "Build, deploy and run",
"dependsOrder": "sequence", "dependsOrder": "sequence",
"group": "none", "group": {
"kind": "build",
"isDefault": true
},
"dependsOn": [ "dependsOn": [
"buildall", "buildall",
"deployall", "deployall",