How to install xdebug debugger on Mint and PHPstorm

Posted on: Thu, 08/06/2015 - 18:21 By: Darko
Installing xdebug PHP debugger on Linux

Our Drupal expert: Installing xdebug PHP debugger on Linux Mint Vbox


  1. Install xdebug:

    In linux command line type:

    sudo apt-get install php5-xdebug
  2. Edit your php.ini file:

    sudo gedit /etc/php5/apache2/php.ini
  3. add these 2 lines at the end of the file:

  4. Restart your webserver:

     sudo service apache2 restart
  5. In Chrome install the "Xdebug helper" extension

  6. Add links to Chrome, go to:
    and click on Xdebug-> generate
  7. Simply drag and drop all generated links to your Chrome toolbar
  8. In Phpstorm, top right corner, toggle the “Start Listening for PHP Debug Connections” button