Toggled debug flags in prod and dev environments.