change debug status