Last active
November 16, 2015 16:42
-
-
Save dirx/0c0d944fcd58af5e72ab to your computer and use it in GitHub Desktop.
Remote xdebug php console scripts in vagrant box
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
XDEBUG_REMOTE_HOST=$(echo $SSH_CLIENT | cut -d "=" -f 2 | awk '{print $1}') | |
alias phpx="export PHP_IDE_CONFIG=serverName=*NameOfServersHostInPHPStorm*;php -dxdebug.remote_enable=1 -dxdebug.remote_host=$XDEBUG_REMOTE_HOST -dxdebug.idekey=PHPSTORM -dxdebug.remote_autostart=1 -dxdebug.remote_connect_back=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment