Adds some temporary debugging code.