Debug to get processing controller in Magento 2

First thing need to do when debugging an issue in Magento is to identify the controller it requires. We need to observe this line

src-magento/src/vendor/magento/framework/App/FrontController.php:95

Check $actionInstance for the controller class name