turn debug mode on