method

set_debug_output

v1_8_6_287 - Show latest stable - Class: Net::HTTP
set_debug_output(output)
public

WARNING This method causes serious security hole. Never use this method in production code.

Set an output stream for debugging.

  http = Net::HTTP.new
  http.set_debug_output $stderr
  http.start { .... }