def do_debug(self, args, arguments):
        """
        ::

        Usage:
              debug on
              debug off

              Turns the debug log level on and off.
        """
        filename = path_expand("~/.cloudmesh/cmd3.yaml")

        config = ConfigDict(filename=filename)
        if arguments['on']:
            self.set_debug(True)
        elif arguments['off']:
            self.set_debug(False)