Add XDebug launcher.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
This commit is contained in:
Jacob Kiers 2015-01-14 15:42:43 +01:00
parent bb4576886d
commit f3c4c0275a

5
bin/xdebug Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
#XDEBUG_REMOTE_HOST=`echo $SSH_CLIENT | cut -d " " -f 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 "$@"