Writing out some debug info.