honor 'debug' and 'clean' options in config file