Allow either debugmode or debug-mode in config. Someday deprecate debugmode