Add some extra debug output for transcode_to