changeset 79681 | df1059ea8846 |
parent 79633 | c59231722f10 |
child 80021 | ba06861e91f9 |
--- a/src/Pure/System/other_isabelle.scala Mon Feb 19 16:25:06 2024 +0100 +++ b/src/Pure/System/other_isabelle.scala Wed Feb 21 11:43:30 2024 +0100 @@ -147,6 +147,14 @@ else error("Cannot proceed with existing user settings file: " + etc_settings) } + def debug_settings(): List[String] = { + val debug = System.getProperty("isabelle.debug", "") == "true" + if (debug) { + List("ISABELLE_JAVA_SYSTEM_OPTIONS=\"$ISABELLE_JAVA_SYSTEM_OPTIONS -Disabelle.debug=true\"") + } + else Nil + } + /* init */