detect plugin & plugout and list the events.