-
-
Save jpswade/d82392d62bd25b43c6ce to your computer and use it in GitHub Desktop.
xphpunit (/usr/local/bin/xphpunit)
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
#!/bin/bash | |
#curl -O https://gist.githubusercontent.com/jpswade/d82392d62bd25b43c6ce/raw/59a7e9c990ba9979f0967de049aea23f76e2bb2d/xphpunit /usr/local/bin/phpunitx && chmod 755 /usr/local/bin/phpunitx | |
# a wrapper around phpunit with xdebug enabled for eclipse | |
# make sure the debug session is started in the debug client (eclipse, netbeans, choose one of the settings below) | |
# see component diagram on https://en.wikipedia.org/wiki/Xdebug | |
# export XDEBUG_CONFIG="idekey=ECLIPSE_DBGP" | |
export XDEBUG_CONFIG="idekey=netbeans-xdebug" | |
phpunit --colors $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment