Dump trait nodes for debugging.