From 93ab5f85147afcaf3987d5a03d1ffa9063aec925 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Mon, 15 Dec 2025 16:32:01 -0800 Subject: [PATCH] Comment out debugPrint override in release mode The line that disables debugPrint in release mode has been commented out, allowing debug messages to be printed even in release builds. This may be for troubleshooting or to temporarily enable logging. --- {{cookiecutter.out_dir}}/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.out_dir}}/lib/main.dart b/{{cookiecutter.out_dir}}/lib/main.dart index 02b0d80..e470929 100644 --- a/{{cookiecutter.out_dir}}/lib/main.dart +++ b/{{cookiecutter.out_dir}}/lib/main.dart @@ -122,7 +122,7 @@ void main(List args) async { Future prepareApp() async { if (!_args.contains("--debug") && isRelease) { // ignore: avoid_returning_null_for_void - debugPrint = (String? message, {int? wrapWidth}) => null; + //debugPrint = (String? message, {int? wrapWidth}) => null; } else { _args.remove("--debug"); }