
Our Drupal expert: Installing xdebug PHP debugger on Linux Mint Vbox
HOW TO:
-
Install xdebug:
In linux command line type:
sudo apt-get install php5-xdebug
-
Edit your php.ini file:
sudo gedit /etc/php5/apache2/php.ini
-
add these 2 lines at the end of the file:
xdebug.remote_enable=1 xdebug.remote_connect_back=1
-
Restart your webserver:
sudo service apache2 restart
-
In Chrome install the "Xdebug helper" extension
- Add links to Chrome, go to:
https://www.jetbrains.com/phpstorm/marklets/
and click on Xdebug-> generate
- Simply drag and drop all generated links to your Chrome toolbar
- In Phpstorm, top right corner, toggle the “Start Listening for PHP Debug Connections” button