turn on debug for production.