Created
March 27, 2020 15:49
-
-
Save dasbairagya/9135a8640c384ce2e24f7e021b75a325 to your computer and use it in GitHub Desktop.
Xdebug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install xdebug for linux: | |
| sudo apt-get install php-xdebug | |
| sudo phpenmod xdebug | |
| sudo gedit /etc/php/7.2/mods-available/xdebug.ini | |
| then paste the below code: | |
| zend_extension="xdebug.so" | |
| xdebug.remote_enable = 1 | |
| xdebug.remote_port = 9000 | |
| xdebug.idekey = PHPSTORM | |
| xdebug.show_error_trace = 1 | |
| xdebug.remote_autostart = 0 | |
| sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment