From 014fd93cd1b9039d4a2327bd6a4d643ed9d2e685 Mon Sep 17 00:00:00 2001 From: Suganthi Thomas Date: Tue, 16 Sep 2025 17:43:01 -0500 Subject: [PATCH 1/2] DEBUG should be set to the actual value. --- app/src/processing/app/Base.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 06e6458fc..a2eea72fb 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -65,7 +65,9 @@ public class Base { * if an empty file named 'debug' is found in the settings folder. * See implementation in createAndShowGUI(). */ - static public boolean DEBUG = System.getenv().containsKey("DEBUG"); + //static public boolean DEBUG = System.getenv().containsKey("DEBUG"); + static public boolean DEBUG = Boolean.parseBoolean(System.getenv().getOrDefault("DEBUG", "false")); + /** True if running via Commander. */ static private boolean commandLine; From 88b9e048efa9456ec4bb0068fda2011a9f83f7e1 Mon Sep 17 00:00:00 2001 From: Suganthi Thomas Date: Wed, 17 Sep 2025 22:12:07 -0500 Subject: [PATCH 2/2] Removed commented lines --- app/src/processing/app/Base.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index a2eea72fb..2551a54d6 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -65,7 +65,7 @@ public class Base { * if an empty file named 'debug' is found in the settings folder. * See implementation in createAndShowGUI(). */ - //static public boolean DEBUG = System.getenv().containsKey("DEBUG"); + static public boolean DEBUG = Boolean.parseBoolean(System.getenv().getOrDefault("DEBUG", "false"));