startDebugging method

Future startDebugging(
  1. WorkspaceFolder? folder,
  2. Object nameOrConfiguration, [
  3. Object? parentSessionOrOptions
])

Start debugging by using either a named launch or named compound configuration, or by directly passing a {@link DebugConfiguration}. The named configurations are looked up in '.vscode/launch.json' found in the given folder. Before debugging starts, all unsaved files are saved and the launch configurations are brought up-to-date. Folder specific variables used in the configuration (e.g. '${workspaceFolder}') are resolved against the given folder.

Implementation

_i2.Future<_i2.dynamic> startDebugging(
  _i3.WorkspaceFolder? folder,
  _i2.Object nameOrConfiguration, [
  _i2.Object? parentSessionOrOptions,
]) =>
    _i4.promiseToFuture(_i4.callMethod(
      this,
      'startDebugging',
      [
        folder ?? _i5.undefined,
        nameOrConfiguration,
        parentSessionOrOptions ?? _i5.undefined,
      ],
    ));