[host/common] d12: add debug tracing

This commit is contained in:
Geoffrey McRae
2024-03-11 19:14:54 +11:00
parent 8d25469d27
commit fdad5daff8
6 changed files with 40 additions and 0 deletions

View File

@@ -571,6 +571,9 @@ bool app_init(void)
const char * logFile = option_get_string("os", "logFile");
const bool ods = option_get_bool ("os", "ods" );
if (ods)
debug_enableTracing();
// redirect stderr to a file
if (logFile && strcmp(logFile, "stderr") != 0)
{