Skip to content

Instantly share code, notes, and snippets.

@fernandopetry
Last active November 18, 2019 00:51
Show Gist options
  • Save fernandopetry/6e49f83af36a20067024a6f44e1cb326 to your computer and use it in GitHub Desktop.
Save fernandopetry/6e49f83af36a20067024a6f44e1cb326 to your computer and use it in GitHub Desktop.
apt-get install php7.1-xdebug
ln -s /etc/php/mods-available/xdebug.ini /etc/php/7.1/apache2/conf.d/20-xdebug.ini
sudo xed /etc/php/7.1/apache2/php.ini
[Xdebug]
zend_extension="/etc/php/7.1/apache2/conf.d/20-xdebug.ini"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM
xdebug.max_nesting_level = 512
xdebug.file_link_format = phpstorm://open?%f:%l
;xdebug.profiler_enable = 1;
xdebug.profiler_enable_trigger = 1;
xdebug.profiler_output_dir = "/media/dados/web/xdebug_profiler"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment