Debugging of images