add examples/watch-debug-events.py

This program displays debug events in realtime.