// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:developer'; import 'common/test_helper.dart'; Future echo( String method, Map args, ) async { print('In service extension'); return ServiceExtensionResponse.result(json.encode(args)); } void testMain() { registerExtension('ext.foo', echo); debugger(); // LINE_A } Future main([List args = const []]) { return startServiceTest(testeeConcurrent: testMain); }