Added debug mode config for production