Improved debug

`assert args is None or raw_config is None`