Add debug mode to ditg-control-server.