Created
April 22, 2019 01:20
-
-
Save kevinquinnyo/df2b551c07f721434b5e8efeb0c44ae1 to your computer and use it in GitHub Desktop.
disable xdebug for unit tests, re-enable it when done or interupted
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 | |
trap "sudo phpenmod xdebug" EXIT | |
sudo phpdismod xdebug | |
vendor/bin/phpunit "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment