def enable_debug(self):
        if self.args.foreground:
            self.config.application[config.DEBUG] = True
If the cli arg for foreground is set, set the configuration option
dataset/ETHPy150Open gmr/tinman/tinman/controller.py/Controller.enable_debug