Skip to content

Instantly share code, notes, and snippets.

@jjeaton
Last active January 14, 2016 14:18
Show Gist options
  • Save jjeaton/9a23ff9958aa405357ab to your computer and use it in GitHub Desktop.
Save jjeaton/9a23ff9958aa405357ab to your computer and use it in GitHub Desktop.
Laravel debug phpunit within homestead
# Laravel debug phpunit within homestead
# Get remote_host value by running `netstat -rn` and choosing the gateway
# serverName must match the server name configured in PHPSTORM
XDEBUG_CONFIG="idekey=PHPSTORM remote_host=10.0.2.2" PHP_IDE_CONFIG="serverName=api.dev" vendor/bin/phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment