Added debug for every response code