Add a flag for using WS for debug backend (#61359)
diff --git a/packages/flutter_tools/lib/src/device.dart b/packages/flutter_tools/lib/src/device.dart
index 2e1d158..0e9454b 100644
--- a/packages/flutter_tools/lib/src/device.dart
+++ b/packages/flutter_tools/lib/src/device.dart
@@ -738,6 +738,7 @@
this.port,
this.webEnableExposeUrl,
this.webUseSseForDebugProxy = true,
+ this.webUseSseForDebugBackend = true,
this.webRunHeadless = false,
this.webBrowserDebugPort,
this.webEnableExpressionEvaluation = false,
@@ -751,6 +752,7 @@
this.hostname,
this.webEnableExposeUrl,
this.webUseSseForDebugProxy = true,
+ this.webUseSseForDebugBackend = true,
this.webRunHeadless = false,
this.webBrowserDebugPort,
this.cacheSkSL = false,
@@ -797,6 +799,7 @@
final String hostname;
final bool webEnableExposeUrl;
final bool webUseSseForDebugProxy;
+ final bool webUseSseForDebugBackend;
/// Whether to run the browser in headless mode.
///