Run a specific launch from task in vscode
Solution 1:
You can use the extension Launch Configs
In the extension settings (settings.json
) you setup a command to start a launch config
"launches": {
"StartLaunch": "Start Launch (Project Folder)"
}
In you tasks.json
call this task with a variable ${command:commandID}
somewhere in the task strings.
${command:launches.StartLaunch}
You can use a dummy shell echo task