Last active
December 8, 2015 14:08
-
-
Save modcab/94e953fca4ef0bafa200 to your computer and use it in GitHub Desktop.
Setup for XDebug remote debugging
This file contains 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
; you should include this on xdebug.ini | |
; got it from http://www.sitepoint.com/install-xdebug-phpstorm-vagrant/ | |
xdebug.remote_enable = on | |
xdebug.remote_connect_back = on | |
xdebug.idekey = "PHPSTORM" | |
xdebug.max_nesting_level = 10000 | |
; only if you want xdebug to trigger ALWAYS | |
xdebug.remote_autostart = on | |
;these are commands if you want to debug your remote command line in phpstorm. | |
export PHP_IDE_CONFIG="serverName=name_of_your_server_in_phpstorm" | |
export XDEBUG_CONFIG="remote_host=the_ip_your_server_sees_you_with idekey=PHPSTORM" | |
; current values: | |
export XDEBUG_CONFIG="remote_host=192.168.33.1 idekey=PHPSTORM" | |
export PHP_IDE_CONFIG="serverName=192.168.33.10" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment