main: Add debug_parser() to avoid #ifdefs