Magento 2 Debug Helper Module usage with PHPStorm and Xdebug
To install the Magento 2 Debug Helper module, simply run the command below
composer require --dev shkoliar/magento-debug-helper
Then enable the module
bin/magento module:enable Shkoliar_DebugHelper
Another few extra commands to ensure that the module is properly registered and classes are generated.
bin/magento setup:upgrade
bin/magento setup:di:compile