disable and enable some debug