Move Debug config to base classes