To get a list of events we have to perform just two easy steps.

Firstly, we need to create ‘di.xml file inside our extension folder at below path using following code.
app\code\Thecoachsmb\Mymodule\etc\di.xml

Now, we need to create on more file ‘ListDispatchedEvents.php‘ inside our extension folder.
app\code\Thecoachsmb\Mymodule\Plugin\ListDispatchedEvents.php

Your list of events is generated inside an event.log file which resides inside var/log folder. You can use this code anywhere to grab existing events list which triggered when you make any action.