-
-
Save SergSlon/35fcaf134e913ab32d43 to your computer and use it in GitHub Desktop.
phpstorm debug with cli scripts
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 | |
| export PHP_IDE_CONFIG="serverName=site.com" | |
| php \ | |
| -d xdebug.remote_autostart=1 \ | |
| -d xdebug.remote_enable=1 \ | |
| -d xdebug.idekey=PHPSTORM \ | |
| -d xdebug.remote_host=123.45.6.78 \ | |
| "$@" | |
| # path/to/phpd script.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment