put app into debug mode