adding debugging to mpdf