set to debug mode