make debug a command line option