How to install xdebug debugger on Mint and PHPstorm

Photo by Chris Ried on Unsplash


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

    add these 2 lines at the end of the file


  3. Restart your webserver:

     sudo service apache2 restart

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