Category: Useful Extras
This is a little off topic from Magento, but I have found it to be extremely useful setting up XDebug with PHPStorm when developing anything with Magento. You can probably use most of these steps with any other IDE and just replace the PHPStorm specific steps with your IDE ones.
The first and most obvious step, install and setup XDebug in your development environment. I prefer to use a VirtualBox VM running CentOS for development so for that I can just run
yum install php-pecl-xdebug
pecl install xdebug
to get the extension added into the system. You will then need to make sure it is being loaded into PHP via /etc/php.d/xdebug.ini. The yum method should automatically create this file for you but, if not, create it with the following inside Continue reading