Set app in debug mode