Terminate task after debug ends
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-19 19:00:40 +02:00
parent 1c8e02b3fa
commit d71e523074
2 changed files with 15 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"postDebugTask": "Terminate All Tasks",
"url": "http://localhost:44200/",
}
]

View File

@@ -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"
}
]
}