From 15decfca6e7dbc8f8b4e08976d331e838f65ed4d Mon Sep 17 00:00:00 2001 From: Yegor Date: Fri, 13 May 2016 16:42:28 -0700 Subject: [PATCH] reenable --checked option in flutter drive (#3916) --- packages/flutter_tools/lib/src/commands/drive.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/commands/drive.dart b/packages/flutter_tools/lib/src/commands/drive.dart index 143235a5363..b287e9f1f7c 100644 --- a/packages/flutter_tools/lib/src/commands/drive.dart +++ b/packages/flutter_tools/lib/src/commands/drive.dart @@ -269,7 +269,8 @@ Future startApp(DriveCommand command, BuildMode buildMode) async { mainPath: mainPath, route: command.route, debuggingOptions: new DebuggingOptions.enabled( - checked: buildMode == BuildMode.debug, + // TODO(devoncarew): Change this to 'buildMode == BuildMode.debug'. + checked: command.argResults['checked'], startPaused: true, observatoryPort: command.debugPort ),