SFCB uses libcurl as its HTTP client for sending indications. Enabling curl debugging (i.e. CURLOPT_VERBOSE) is useful for troubleshooting. This patch enables activation via the CURLDEBUG environment variable, so a rebuild is no longer necessary.
Note: curl does output "CURL error" messages by default. You need to enable CURLOPT_VERBOSE only if you wish to see informational messages as well.
Note also: all curl debug output goes to stderr by default. It is possible to redirect output to a different stream by setting CURLOPT_STDERR (in the code), but this is not currently enabled in SFCB. You must run SFCB in the foreground, or otherwise capture stderr, to see the debug messages.
To enable curl debugging, set CURLDEBUG to any value but "false"
To disable curl debugging, set CURLDEBUG to "false" or unset CURLDEBUG
FYI: the behavior of CURLDEBUG is now consistent with wbemcli.