configurationDoneRequest method

  1. @override
Future<void> configurationDoneRequest(
  1. Request request,
  2. ConfigurationDoneArguments? args,
  3. void sendResponse()
)

configurationDone is called by the client when it has finished sending any initial configuration (such as breakpoints and exception pause settings).

We delay processing launchRequest/attachRequest until this request has been sent to ensure we're not still getting breakpoints (which are sent per-file) while we're launching and initializing over the VM Service.

Implementation

@override
Future<void> configurationDoneRequest(
  Request request,
  ConfigurationDoneArguments? args,
  void Function() sendResponse,
) async {
  _configurationDoneCompleter.complete();
  sendResponse();
}