added debug when sending screenshots for resizing