> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/xmf-cookbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/xmf-cookbook/reference/debug.md).

# Debug

The `Xmf\Debug` class contains methods to assist in debugging.

## Debug::dump($var)

Dump one or more variables. Multiple arguments can be specified, and each will be dumped.

## Debug::backtrace()

Display debug backtrace.
