if (vscode.workspace.workspaceFolders) {
let folder = vscode.workspace.workspaceFolders[0];
vscode.debug.startDebugging(folder, configName);
}
I currently made an extention just for creating a command to launch+debug a specific launch configuration using commandbar without having to select it first.
You can easily integrate it into yours with just this code
I currently made an extention just for creating a command to launch+debug a specific launch configuration using commandbar without having to select it first.
You can easily integrate it into yours with just this code