Debug flag command line parsing functioning