[IMP] Improve debug log.