mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[flutter_tool] experimental resident web runner is not debuggable (#46916)
This commit is contained in:
parent
ea4ff490d6
commit
0497235c20
@ -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>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user