chore: terminate all tasks after debug

This commit is contained in:
uinstinct 2025-07-02 19:37:33 +05:30
parent ad12f6fd87
commit 2f8bbb9263
2 changed files with 14 additions and 0 deletions

1
.vscode/launch.json vendored
View file

@ -19,6 +19,7 @@
"pauseForSourceMap": false,
"outFiles": ["${workspaceFolder}/extensions/vscode/out/extension.js"],
"preLaunchTask": "vscode-extension:build",
"postDebugTask": "Terminate All Tasks",
"env": {
// "CONTROL_PLANE_ENV": "local",
"CONTINUE_GLOBAL_DIR": "${workspaceFolder}/extensions/.continue-debug"

13
.vscode/tasks.json vendored
View file

@ -223,6 +223,19 @@
],
"type": "shell",
"problemMatcher": []
},
{
"label": "Terminate All Tasks",
"command": "${input:terminate}",
"type": "shell"
}
],
"inputs": [
{
"id": "terminate",
"type": "command",
"command": "workbench.action.tasks.terminate",
"args": "terminateAll"
}
]
}