switch to debug mode