Rather than have Debug be a setting when you run the program, this should be moved (or added) to the configuration file. When running this in a docker container, it's rather difficult to temporarily enable debug. I've had to actually have a separate docker container that has the Dockerfile modified for the run command to be --debug. If it was in the config file, you could simply share the config file with your docker container, modify the variable in config.ini, restart the docker container and then you have debug running.
Rather than have Debug be a setting when you run the program, this should be moved (or added) to the configuration file. When running this in a docker container, it's rather difficult to temporarily enable debug. I've had to actually have a separate docker container that has the Dockerfile modified for the run command to be --debug. If it was in the config file, you could simply share the config file with your docker container, modify the variable in config.ini, restart the docker container and then you have debug running.