The debug type for which the provider is registered.
The debug configuration provider to register.
OptionaltriggerKind: DebugConfigurationProviderTriggerKindThe trigger for which the 'provideDebugConfiguration' method of the provider is registered. If triggerKind is missing, the value DebugConfigurationProviderTriggerKind.Initial is assumed.
A Disposable that unregisters this provider when being disposed.
Register a debug configuration provider for a specific debug type. The optional triggerKind can be used to specify when the
provideDebugConfigurationsmethod of the provider is triggered. Currently two trigger kinds are possible: with the valueInitial(or if no trigger kind argument is given) theprovideDebugConfigurationsmethod is used to provide the initial debug configurations to be copied into a newly created launch.json. With the trigger kindDynamictheprovideDebugConfigurationsmethod is used to dynamically determine debug configurations to be presented to the user (in addition to the static configurations from the launch.json). Please note that thetriggerKindargument only applies to theprovideDebugConfigurationsmethod: so theresolveDebugConfigurationmethods are not affected at all. Registering a single provider with resolve methods for different trigger kinds, results in the same resolve methods called multiple times. More than one provider can be registered for the same type.