Format a HandleSet for debug output.
a handle set
a string representation of the handle set suitable for debug output