Update ml_debug

Fix ml.conf dump and corrected the config file detection logic.