We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13e6977 commit 014fd93Copy full SHA for 014fd93
app/src/processing/app/Base.java
@@ -65,7 +65,9 @@ public class Base {
65
* if an empty file named 'debug' is found in the settings folder.
66
* See implementation in createAndShowGUI().
67
*/
68
- static public boolean DEBUG = System.getenv().containsKey("DEBUG");
+ //static public boolean DEBUG = System.getenv().containsKey("DEBUG");
69
+ static public boolean DEBUG = Boolean.parseBoolean(System.getenv().getOrDefault("DEBUG", "false"));
70
+
71
72
/** True if running via Commander. */
73
static private boolean commandLine;
0 commit comments