method
set_debug_output
v2_2_9 -
Show latest stable
- Class:
Net::HTTP
set_debug_output(output)public
WARNING This method opens a serious security hole. Never use this method in production code.
Sets an output stream for debugging.
http = Net::HTTP.new(hostname) http.set_debug_output $stderr http.start { .... }