forked from firka/flutter
[flutter_tool] experimental resident web runner is not debuggable (#46916)
This commit is contained in:
@@ -360,6 +360,9 @@ class _ExperimentalResidentWebRunner extends ResidentWebRunner {
|
||||
dartDefines: dartDefines,
|
||||
);
|
||||
|
||||
@override
|
||||
bool get debuggingEnabled => false;
|
||||
|
||||
@override
|
||||
Future<int> run({
|
||||
Completer<DebugConnectionInfo> connectionInfoCompleter,
|
||||
|
||||
@@ -486,6 +486,12 @@ void main() {
|
||||
FeatureFlags: () => TestFeatureFlags(isWebIncrementalCompilerEnabled: true),
|
||||
}));
|
||||
|
||||
test('experimental resident runner is not debuggable', () => testbed.run(() {
|
||||
expect(residentWebRunner.debuggingEnabled, false);
|
||||
}, overrides: <Type, Generator>{
|
||||
FeatureFlags: () => TestFeatureFlags(isWebIncrementalCompilerEnabled: true),
|
||||
}));
|
||||
|
||||
test('Can hot restart after attaching', () => testbed.run(() async {
|
||||
_setupMocks();
|
||||
final Completer<DebugConnectionInfo> connectionInfoCompleter = Completer<DebugConnectionInfo>();
|
||||
|
||||
Reference in New Issue
Block a user