debug with curl