Add debug output for --capture-image-and-download, using proposed patch from Marcus.