Fixed compat debug option handling.