enable debugging code