Skip to content

Provide extension hooks to generate debugger configuration when clicking Add Configuration button #65988

@DonJayamanne

Description

@DonJayamanne

Currently clicking the Configure or fix launch.json button will invoke the DebugConfigurationProvider of the extension.

We (Python Extension) have used this to generate a leaner launch.json file (#62851 & microsoft/vscode-python#3321 (comment)).
However, when the user clicks the Add Configuration button (either in the debugger dropdown or button displayed on the bottom right of launch.json, the corresponding extension hooks do not get triggered. Instead VSC merely displays a pick list of configuration snippets.

We were hoping VSC could provide some hook (similar to DebugConfigurationProvider) that would get invoked when clicking the Add Configuration button.

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions