dotfiles/bin/xdebug

7 lines
202 B
Bash
Executable File

#!/usr/bin/env bash
COMMAND=`which $1`;
shift 1
PHP_IDE_CONFIG="serverName=sandbox" XDEBUG_CONFIG="idekey=PHPSTORM remote_host=127.0.0.1 remote_port=19000" php -d xdebug.remote_enable=1 $COMMAND "$@"