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.
This commit is contained in:
Feodor Fitsner 2025-12-15 16:32:01 -08:00
parent 1a0483ff0e
commit 93ab5f8514
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ void main(List<String> args) async {
Future prepareApp() async { Future prepareApp() async {
if (!_args.contains("--debug") && isRelease) { if (!_args.contains("--debug") && isRelease) {
// ignore: avoid_returning_null_for_void // ignore: avoid_returning_null_for_void
debugPrint = (String? message, {int? wrapWidth}) => null; //debugPrint = (String? message, {int? wrapWidth}) => null;
} else { } else {
_args.remove("--debug"); _args.remove("--debug");
} }