# Debugging chains

It can be hard to debug a `Chain` object solely from its output as most `Chain` objects involve a fair amount of input prompt preprocessing and LLM output post-processing.

import Example from "@snippets/modules/chains/how_to/debugging.mdx"

<Example/>

