Last active
February 23, 2016 12:14
-
-
Save rolfvreijdenberger/b2d3a229fdbfa5a512ed to your computer and use it in GitHub Desktop.
phpunit-xdebug (/usr/local/bin/phpunit-debug)
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 | |
# /usr/local/bin/phpunit-debug | |
# 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