Description
Feature Request
Problem
Some tasks need to continue running in background after launch (i.e. : vite dev
)
However, VSCode wait for preLaunchTask
to finish before launching
There is no way to make a non "isBackground": true
task launchable in background with preLaunchTask
Solution
A preLaunchTask
background option
Also, it would be very nice to also have an option to automatically kill this task upon debug ended (i.e. chrome window has been closed)
Workaround
Add "isBackground": true
to the related task in tasks.json
However, sometimes, the task are not user provided and are provided by an extension (example : denoland/vscode_deno#1193), which forces us to duplicate and maintain an unsynced task
Configuration
VS Code version: Code 1.94.2 (384ff73, 2024-10-09T16:08:44.566Z)
OS version: Linux x64 6.10.10-200.fc40.x86_64
Modes:
Remote OS version: Linux x64 6.10.10-200.fc40.x86_64
Activity