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 (10,221 forks)batch import
apidebugfeature-requesthelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

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