add debug mode in DocCollection (closes #3629)
Merge pull request #662 from Eric-Brison/3.2-A3629

add debug mode in DocCollection (closes #3629)