Write debug info.