added debug option for dumping raw events
0.2.2