Add pretty output in debug mode