write debug records of child ireps.  closes #1575.