Add debug event
Explain what this actually is for
Update event mappings
Update buildfile for stat test suite
Add debug client
Add handler for debug messages (temp)