Move DEBUG assignment above import of impl_settings

This is required to allow this field to be overidden.