replace qDebug() with PHDEBUG