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 ),