Skip to content

Provide debug adapter executable the arguments for the debug session #45220

@DanTup

Description

@DanTup

I recently merged my two debuggers and started using adapterExecutableCommand to switch between my project types to allow debugging without a launch.json.

However, while trying to support projects in sub-folders (and unit testing, which works differently to debugging on the device) I've discovered that I need to know the program and/or cwd for the session being launched in order to know which of the debuggers to launch.

Currently, adapterExecutableCommand (and it's replacement, DebugConfigurationProvider.debugAdapterExecutable) are only provided the workspace folder.

Is it possible to provide more information about the session being started? I need it to support people that have projects in sub-folders of their root and for running tests.

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityon-testplantestplan-item

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions