Add debug dump logic.