<div><div>Hi</div><div><br></div><div>I m having some issues of having 1% of  httpc:request/4 ends up with {error, socket_closed_remotely}, 99 % are good with 200.</div><div><br></div><div>I want to debug what's happening inside and I saw there are debug message already in code.</div>
<div><br></div><div>What should I do to see those ?hcrd/2 messages?</div><div><br></div><div>-module(httpc_handler).</div><div><br></div><div>-behaviour(gen_server).</div></div><div>...</div><div>connect_and_send_first_request(Address,</div>
<div>                   #request{settings    = Settings,</div><div>                    headers     = Headers,</div><div>                    address     = OrigAddress,</div><div>                    scheme      = Scheme} = Request,</div>
<div>                   #state{options = Options} = State) -></div><div><br></div><div><b>    ?hcrd("connect",</b></div><div><b>      [{address, Address}, {request, Request}, {options, Options}]),</b></div><div>
    .....</div><div><br></div><div><br></div><div>Allen Kim</div><div><br></div><div><br></div>