Skip to content

Test: dynamic debug configurations #95837

@isidorn

Description

@isidorn

Refs: #95835, #88230

Complexity: 3

Authors: @weinand, @isidorn


We now support dynamic debug configurations, that means an extension can contribute dynamically created debug configurations to places where only the static debug configurations from the launch.json were shown previously.

Develop an extension that uses the new API or modify an existing debug extension to use the new API and verify the following:

  • the extension API for dynamic debug configs works as specified
  • When invoking the "Select and Start Debugging" command, you are presented with a "dynamic debug configuration container" for your extensions.
  • This container item is decorated with a folder icon, is in a separate group and once you choose it you can see a list of dynamic debug configurations which just got resolved
  • Once you choose a configuration, debug is started
  • The same container for dynamic debug configurations appears in the debug viewlet's dropdown menu (but it does not have an icon for technical reasons).
  • Once you start debugging and the chosen option is the container, you can choose a configuration and start debugging.

Feedback on the whole flow is very welcome:
@connor4312 @RMacfarlane do you like the behavior of the container item in the debug viewlet's drop down menu? After selecting it nothing happens but you have to press the play button to actually make a selection. The alternative interaction would be to open the quickpick immediately when selecting the container item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    debugDebug viewlet, configurations, breakpoints, adapter issuestestplan-item

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions