Created
July 6, 2025 14:47
-
-
Save tpraxl/4bdb932586766a257a6a953649aeaad4 to your computer and use it in GitHub Desktop.
herd (non-pro) XDEBUG settings
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
;; append this section to your *-fpm.conf | |
;; e.g. ~/Library/Application\ Support/Herd/config/fpm/8.4-fpm.conf | |
;; Turn off clear_env to allow for setting XDEBUG_MODE environment | |
;; See https://www.php.net/manual/en/install.fpm.configuration.php#clear-env | |
clear_env = No |
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
# append this section to your php.ini | |
# e.g. ~/Library/Application\ Support/Herd/config/php/84/php.ini | |
# XDEBUG: see https://herd.laravel.com/docs/macos/debugging/xdebug#xdebug | |
zend_extension=/Applications/Herd.app/Contents/Resources/xdebug/xdebug-84-arm64.so | |
# Use debug, coverage,gcstats,profile,trace depending on your needs see https://xdebug.org/docs/all_settings#mode | |
# Use off to have close to 0 overhead | |
# Override with XDEBUG_MODE=debug for example | |
# e.g. XDEBUG_MODE=debug vendor/bin/pest tests/Unit/ExampleTest.php | |
# If you use php-fpm, you also need to adapt your fpm config | |
xdebug.mode=off | |
xdebug.start_with_request=yes | |
xdebug.start_upon_error=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment