Fixed pymode debug