R debugSurface