popupDebug() output improvement