Last active
August 29, 2015 14:05
-
-
Save rauluranga/cfff211583d0720b9c58 to your computer and use it in GitHub Desktop.
Xdebug installation Ubuntu
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
| $ sudo apt-get install php5-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
| #add the following lines to etc/php5/conf.d/xdebug.ini | |
| xdebug.profiler_output_dir=/tmp | |
| xdebug.profiler_output_name=cachegrind.out.%p | |
| xdebug.profiler_enable_trigger=1 | |
| xdebug.profiler_enable=1 | |
| xdebug.remote_enable=true | |
| xdebug.remote_host=127.0.0.1 | |
| xdebug.remote_port=9001 | |
| xdebug.remote_handler=dbgp | |
| xdebug.remote_autostart=0 |
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
| $ sudo service php5-fpm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment