The debug type for which the provider is registered.
The debug configuration provider to register.
OptionaltriggerKind: DebugConfigurationProviderTriggerKindThe DebugConfigurationProviderTrigger 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 there are two situations: (1) providing debug configurations to populate a newly createdlaunch.json(2) providing dynamically generated configurations when the user asks for them through the UI (e.g. via the "Select and Start Debugging" command). Please note that thetriggerKindargument only applies to theprovideDebugConfigurationsmethod, theresolveDebugConfigurationmethods are not affected at all. Registering a single provider with resolve methods for different trigger kinds results in the same resolve methods being called multiple times. More than one provider can be registered for the same type.