Getting hold of current launch configuration in the extension #23564
Labels
api
debug
Debug viewlet, configurations, breakpoints, adapter issues
feature-request
Request for new features or functionality
*out-of-scope
Posted issue is not in scope of VS Code
Milestone
Question: is it possible to get hold of the active launch configuration from the extension code?
In other words, get hold of debugService.getViewModel().selectedConfigurationName
In our scenario, launch configurations point to different remote servers with which the users can work. Now, we would like to have another custom extension command which should work with the "current" server.
Therefore I need to get hold of the currently selected configuration name and then I can find the actual configuration myself.
The text was updated successfully, but these errors were encountered: