Debugging custom events