Skip to content

Commit 014fd93

Browse files
DEBUG should be set to the actual value.
1 parent 13e6977 commit 014fd93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/processing/app/Base.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ public class Base {
6565
* if an empty file named 'debug' is found in the settings folder.
6666
* See implementation in createAndShowGUI().
6767
*/
68-
static public boolean DEBUG = System.getenv().containsKey("DEBUG");
68+
//static public boolean DEBUG = System.getenv().containsKey("DEBUG");
69+
static public boolean DEBUG = Boolean.parseBoolean(System.getenv().getOrDefault("DEBUG", "false"));
70+
6971

7072
/** True if running via Commander. */
7173
static private boolean commandLine;

0 commit comments

Comments
 (0)