print debug on failure