logDebug() flushes stdout for instant visibility of messages logged.