Move DebugEventInspector and friends to internal.event