forked from qt-creator/qt-creator
Debugger: Introduce an option to force QT_LOGGING_TO_CONSOLE=1
Debug output is ephemeral in nature, and does not belong into system logs. It happens, however, on Arch. Let people override this. Fixes: QTCREATORBUG-25421 Change-Id: I5686e256d76e5a127e3269c5f407daf39bad683f Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -913,6 +913,9 @@ bool DebuggerRunTool::fixupParameters()
|
||||
if (rp.isNativeMixedDebugging())
|
||||
rp.inferior.environment.set("QV4_FORCE_INTERPRETER", "1");
|
||||
|
||||
if (debuggerSettings()->forceLoggingToConsole.value())
|
||||
rp.inferior.environment.set("QT_LOGGING_TO_CONSOLE", "1");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user