print contents of events
when run it opens a window then prints all events in terminal
useful for finding key ids etc.