profile
viewpoint

Ask questionsAllow multiple preLaunchTasks to be defined

I would like to be able to have the launch.json preLaunchTask be an array of tasks rather than just one. While it is possible to create a compound task, this requires that the compound task also have a label which pollutes the tasks shown when choosing to run a task. Instead, I would like just have the launch config just be able to launch more than one.

In my scenario, I have tasks defined with labels "Watch", and "Dev Server". On debug launch, I want to be able to both ensure the Watch and "Dev Server" tasks have started (if not already running).

microsoft/vscode

Answer questions akrantz

@isidorn While I respect the VS Code team's decision as to whether it is reasonable to implement, is it possible to get information about why it was considered "out of scope"? Is this a problem with the request itself, or do resource or schedule constraints simply preclude this from being done? It would be nice to have more of your thoughts about this. Thanks.

useful!

Related questions

XHR Failed on trying to install plugins via Visual Studio code hot 10
the terminal process terminated with exit code #259 hot 9
Insiders - We cannot connect to the Extensions Marketplace
The terminal shell CWD "/c:/User..." does not exist - vscode hot 4
Git Fetch fails with Missing or invalid credentials hot 3
Bad message: Cannot launch program 'c:\...'; setting the 'outFiles' attribute might help. hot 3
Show offending file path, when "Tokenization is skipped for long lines for performance reasons. The length of a long line can be configured via `editor.maxTokenizationLineLength`." hot 3
Wrong separator in path when debugging c++ - vscode hot 3
VS Code unins000.exe starts leading its own life, suddenly throwing a popup warning without user interaction hot 3
launch: program ''does not exist hot 2
format code alt + shift + f hot 2
Corrupt ZIP: end of central directory record signature not found hot 2
"Initializing JS/TS Language Features" appears every time I open a JS file hot 2
The token '&&' is not a valid statement separator in this version. hot 2
Paths separators in build config being escaped/stripped out prior to build command being run hot 2
source:https://uonfu.com/
Github User Rank List