moves debug settings into config