Debugging document failures.