Support debug flags on cmdline