CURLOPT_VERBOSE
:CURLOPT_STDERR
or you can get even more info in a fancier way with the debug callback (explained further in a later section).CURLOPT_DEBUGFUNCTION
option, you still need to have CURLOPT_VERBOSE
enabled but with the trace callback set libcurl will use that callback instead of its internal handling.CURLOPT_DEBUGDATA
.