Terminate task after debug ends
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
1
src/Vegasco-Web/.vscode/launch.json
vendored
1
src/Vegasco-Web/.vscode/launch.json
vendored
@@ -7,6 +7,7 @@
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "npm: start",
|
||||
"postDebugTask": "Terminate All Tasks",
|
||||
"url": "http://localhost:44200/",
|
||||
}
|
||||
]
|
||||
|
||||
14
src/Vegasco-Web/.vscode/tasks.json
vendored
14
src/Vegasco-Web/.vscode/tasks.json
vendored
@@ -2,6 +2,12 @@
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Terminate All Tasks",
|
||||
"command": "echo ${input:terminate}",
|
||||
"type": "shell",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "start",
|
||||
@@ -45,5 +51,13 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "terminate",
|
||||
"type": "command",
|
||||
"command": "workbench.action.tasks.terminate",
|
||||
"args": "terminateAll"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user