debugConnection method
Implementation
Future<DebugConnection> debugConnection(AppConnection appConnection) async {
if (!_enableDebugging) throw StateError('Debugging is not enabled.');
final appDebugServices = await _devHandler.loadAppServices(appConnection);
await appDebugServices.chromeProxyService.isInitialized;
return DebugConnection(appDebugServices);
}