registerDebugAdapterDescriptorFactory method

Disposable registerDebugAdapterDescriptorFactory(
  1. String debugType,
  2. DebugAdapterDescriptorFactory factory
)

Register a {@link DebugAdapterDescriptorFactorydebug adapter descriptor factory} for a specific debug type. An extension is only allowed to register a DebugAdapterDescriptorFactory for the debug type(s) defined by the extension. Otherwise an error is thrown. Registering more than one DebugAdapterDescriptorFactory for a debug type results in an error.

Implementation

_i3.Disposable registerDebugAdapterDescriptorFactory(
  _i2.String debugType,
  _i3.DebugAdapterDescriptorFactory factory,
) =>
    _i4.callMethod(
      this,
      'registerDebugAdapterDescriptorFactory',
      [
        debugType,
        factory,
      ],
    );