Pass depth through for Debugger::dump().
Merge pull request #2244 from dereuromark/2.5-debugger

Pass depth through for Debugger::dump().