Made app serve in debug mode when run with development server