Last active
January 21, 2025 11:54
-
-
Save k0pernikus/5ba79c239a8473ef1ba6438b14f54d1f to your computer and use it in GitHub Desktop.
Create xdebug config file in local user's home dir
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
#!/usr/bin/env bash | |
mkdir -p ~/config/etc/php/8.0/fpm/conf.d/ | |
touch ~/config/etc/php/8.0/fpm/conf.d/20-xdebug.ini | |
cat > ~/config/etc/php/8.0/fpm/conf.d/20-xdebug.ini <<EOL | |
zend_extension=xdebug.so | |
xdebug.mode = debug | |
xdebug.client_host = 127.0.0.1 | |
xdebug.client_port = 9003 | |
xdebug.idekey = PHPSTORM | |
xdebug.discover_client_host=false | |
EOL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment