Add an API for extensions to resolve variables in launch.json during resolveDebugConfiguration() #79518
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
*duplicate
Issue identified as a duplicate of another issue(s)
feature-request
Request for new features or functionality
our debugger extension is going to parse a configuration and propagate the debug requests to language-specific debugger extensions (
vscode-python
,vscode-cpptools
).for example, for the following configuration
the target
${file}
points to an XML file that contains the actual launch requests. We need to actually parse that file and generate debug requests to the other debuggers.Since we need access to
vscode.debug.startDebugging()
, this needs to take place insidevscode.DebugConfigurationProvider.resolveDebugConfiguration()
(not the debug adapter). For this reason, we need an API to resolve VS Code variables manually (inside the extension's context).The text was updated successfully, but these errors were encountered: