Created
July 7, 2014 08:34
-
-
Save tadas-s/dae6a8f506993da19993 to your computer and use it in GitHub Desktop.
xdebug cli script from vagrant machine
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
# Say project domain in PhpStorm is configured as example.org and your VM IP is xxx.xxx.xxx.yyy: | |
PHP_IDE_CONFIG=serverName=example.org php -dxdebug.remote_autostart=1 -dxdebug.remote_host=xxx.xxx.xxx.1 -f ./app/console.php -- console:args --go-here | |
# with xdebug log (useful for troubleshooting) | |
PHP_IDE_CONFIG=serverName=example.org php -dxdebug.remote_log="./xdebug.log" -dxdebug.remote_autostart=1 -dxdebug.remote_host=xxx.xxx.xxx.1 -f ./app/console.php -- console:args --go-here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment