Add debug as a config option, false by default