Added debug code to Recordings REST resource.