Created
January 25, 2019 12:13
-
-
Save kerasai/f180bcf45528753fdd1be9b39ef842d3 to your computer and use it in GitHub Desktop.
Enables Xdebug CLI to be ran from the CLI
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
# Run one time, value must match value xdebug.idekey in the PHP config. | |
export XDEBUG_CONFIG="idekey=123" | |
export PHP_IDE_CONFIG="serverName=example.local" | |
# Toggle to enable/disable Xdebug. | |
export XDEBUG_CONFIG="remote_enable=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment