Microsoft/vscode

ability to get/set currently selected debug configuration

Open

#77,138 opened on Jul 10, 2019

View on GitHub
 (11 comments) (34 reactions) (2 assignees)TypeScript (74,848 stars) (10,221 forks)batch import
apidebugfeature-requesthelp wanted

Description

Currently, we can run vscode.debug.startDebugging(workspaceFolder, configName) to run the debugger from the extension. Is there a way to change currently selected debug configuration from the extension? Something like vscode.debug.changeCurrentDebugger(workspaceFolder, configName) would be very helpful.

Contributor guide