write debug records of child ireps.  closes #1575.
Merge remote-tracking branch 'origin/pr-write-debug-info-of-child-irep' into iij