diff --git a/packages/flutter_tools/lib/src/commands/drive.dart b/packages/flutter_tools/lib/src/commands/drive.dart index ad0876f07a..66cc1ee5f4 100644 --- a/packages/flutter_tools/lib/src/commands/drive.dart +++ b/packages/flutter_tools/lib/src/commands/drive.dart @@ -188,17 +188,6 @@ class DriveCommand extends RunCommandBase { ); } - if (isWebPlatform && buildInfo.isDebug) { - // TODO(angjieli): remove this once running against - // target under test_driver in debug mode is supported - throwToolExit( - 'Flutter Driver web does not support running in debug mode.\n' - '\n' - 'Use --profile mode for testing application performance.\n' - 'Use --release mode for testing correctness (with assertions).' - ); - } - Uri webUri; if (isWebPlatform) {