X-debug installation and configuration

Find few installation references

Few steps for having  x-debug working on your local environment or development:

  1. Download the proper xdebug extension http://xdebug.org/download.php, or you can use xdebug wizard http://xdebug.org/wizard.php for more information about environement.
  2. An alternative is to install using pecl: pecl install xdebug
  3. Copy binary file to PHP’s extensions folder
  4. Link this binary file in php.ini using this command zend_extension=”/usr/local/php/modules/xdebug.so”
  5. Enable xdebug in php.ini and configure to listen remote conections
    xdebug.remote_port="<the port for XDebug to listen to>" (the default port is 9000)
    xdebug.remote_host=<the host where PhpStorm is running (e.g. localhost)>
    xdebug.profiler_output_dir="<AMP home\tmp>"
  6. You can check if xdebug is configured properly in php info.