Enable debug only in local environments