- Added the following lines, according to /etc/php5/apache2/conf.d/20-xdebug.ini
debug.remote_host= 127.0.0.1
xdebug.remote_port=9000
xdebug.max_nesting_level=200
xdebug.remote_enable=1
xdebug.idekey="PHPSTORM"
xdebug.remote_autostart = 1
- Restarted apache: