--debug is now a configurable option in the CLI rather than a global variable hard-coded in the file