Skip to content

Instantly share code, notes, and snippets.

@jalescardoso
Last active September 14, 2018 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jalescardoso/930b9aab02b4138016d92dccf7f0faaa to your computer and use it in GitHub Desktop.
Save jalescardoso/930b9aab02b4138016d92dccf7f0faaa to your computer and use it in GitHub Desktop.
xdebug php vscode
# install xdebug
php -i 1> xdebug.log
xclip -sel clip < xdebug.log
### colar no https://xdebug.org/wizard.php e seguir as instruções
php -v 7.2
sudo apt-get install php7.2-xdebug
edit sudo nano /etc/php/7.2/cli/php.ini
zend_extension = /usr/lib/php/yourfolder/xdebug.so
[XDebug]
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
reboot system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment