Change the default debug status
Change the interface of error to eprint