Pass depth through for Debugger::dump().

Currently, dump() cannot set the depth. This resolves it.