Created
July 21, 2014 17:53
-
-
Save arielallon/c72d4e94c92adf89d439 to your computer and use it in GitHub Desktop.
xdebug in phpstorm from vagrant cli
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
| export PHP_IDE_CONFIG="serverName=local.project.com" | |
| export XDEBUG_CONFIG="remote_host=192.168.56.1 idekey=PHPSTORM" | |
| alias phpx='php -d "xdebug.profiler_enable=1" -d "xdebug.remote_host=192.168.56.1"' | |
| # then run phpx -f filename.php |
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
| export PHP_IDE_CONFIG="serverName=local.project.com" | |
| export XDEBUG_CONFIG="remote_host=192.168.56.1 idekey=PHPSTORM" | |
| php -d "xdebug.profiler_enable=1" -d "xdebug.remote_host=192.168.56.1" -f filename.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment