code: def debug=(mode)
        @debug = mode
  
        if mode
          HTTPI.log = true
          HTTPI.log_level = :debug
        else
          HTTPI.log = false
        end
      end
docs: Sets defaults for the configuration.
   Enable or disable debug mode. Boolean.