Add debug.reportEvent function
Merge pull request #32 from PencilCode/geom-debug

Add debug.reportEvent function