Add debugging to nbxml.