add debug info to show events