Skip to content

How to configure n98 mage run for xdebug?

Xdebug for magento generally works, but there are problems with magerun, instead of debugging the cron class, debug n98-magerun2.phar occurs. I tried to configure path mapping, but it still debugs n98-mage run 2.phar. How can this be fixed?