debug info, curl outside and in