You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A DebugConfigurationProviderTrigger specifies when the `provideDebugConfigurations` method of a `DebugConfigurationProvider` is triggered.
723
+
* A DebugConfigurationProviderTriggerKind specifies when the `provideDebugConfigurations` method of a `DebugConfigurationProvider` is triggered.
724
724
* Currently there are two situations: to provide the initial debug configurations for a newly created launch.json or
725
725
* to provide dynamically generated debug configurations when the user asks for them through the UI (e.g. via the "Select and Start Debugging" command).
726
-
* A trigger is used when registering a `DebugConfigurationProvider` with #debug.registerDebugConfigurationProvider.
726
+
* A trigger kind is used when registering a `DebugConfigurationProvider` with #debug.registerDebugConfigurationProvider.
727
727
*/
728
-
exportenumDebugConfigurationProviderTrigger{
728
+
exportenumDebugConfigurationProviderTriggerKind{
729
729
/**
730
730
* `DebugConfigurationProvider.provideDebugConfigurations` is called to provide the initial debug configurations for a newly created launch.json.
731
731
*/
@@ -739,19 +739,19 @@ declare module 'vscode' {
739
739
exportnamespacedebug{
740
740
/**
741
741
* Register a [debug configuration provider](#DebugConfigurationProvider) for a specific debug type.
742
-
* The optional [trigger](#DebugConfigurationProviderTrigger) can be used to specify when the `provideDebugConfigurations` method of the provider is triggered.
743
-
* Currently two triggers are possible: with the value `Initial` (or if no trigger argument is given) the `provideDebugConfigurations` method is used to provide the initial debug configurations to be copied into a newly created launch.json.
744
-
* With the trigger `Dynamic` the `provideDebugConfigurations` method is used to dynamically determine debug configurations to be presented to the user (in addition to the static configurations from the launch.json).
745
-
* Please note that the `trigger` argument only applies to the `provideDebugConfigurations` method: so the `resolveDebugConfiguration` methods are not affected at all.
746
-
* Registering a single provider with resolve methods for different triggers, results in the same resolve methods called multiple times.
742
+
* The optional [triggerKind](#DebugConfigurationProviderTriggerKind) can be used to specify when the `provideDebugConfigurations` method of the provider is triggered.
743
+
* Currently two trigger kinds are possible: with the value `Initial` (or if no trigger kind argument is given) the `provideDebugConfigurations` method is used to provide the initial debug configurations to be copied into a newly created launch.json.
744
+
* With the trigger kind `Dynamic` the `provideDebugConfigurations` method is used to dynamically determine debug configurations to be presented to the user (in addition to the static configurations from the launch.json).
745
+
* Please note that the `triggerKind` argument only applies to the `provideDebugConfigurations` method: so the `resolveDebugConfiguration` methods are not affected at all.
746
+
* Registering a single provider with resolve methods for different trigger kinds, results in the same resolve methods called multiple times.
747
747
* More than one provider can be registered for the same type.
748
748
*
749
749
* @param type The debug type for which the provider is registered.
750
750
* @param provider The [debug configuration provider](#DebugConfigurationProvider) to register.
751
-
* @paramtrigger The [trigger](#DebugConfigurationProviderTrigger) for which the 'provideDebugConfiguration' method of the provider is registered.
751
+
* @paramtriggerKind The [trigger](#DebugConfigurationProviderTrigger) for which the 'provideDebugConfiguration' method of the provider is registered.
752
752
* @return A [disposable](#Disposable) that unregisters this provider when being disposed.
0 commit comments