added debug setting in config

among other stuff