diff --git a/.vscode/launch.json b/.vscode/launch.json index 53632f8d2..346714e94 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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" diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 5b0636368..0ea873978 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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" } ] }