def debug=(mode)
      @debug = mode

      if mode
        HTTPI.log = true
        HTTPI.log_level = :debug
      else
        HTTPI.log = false
      end
    end
def debug=(mode)
      @debug = mode

      if mode
        HTTPI.log = true
        HTTPI.log_level = :debug
      else
        HTTPI.log = false
      end
    end
Sets defaults for the configuration.
 Enable or disable debug mode. Boolean.