Route qDebug() messages to debug.log