Issue with Xdebug #1371
villalonjeremie
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @markshust
Thanks for the project — it’s awesome!
Just a heads-up: I ran into an issue setting up Xdebug on macOS with VS Code.
I fixed it by adding this file inside the PHP-FPM container:
docker compose exec -u root phpfpm bash -lc 'cat > /usr/local/etc/php/conf.d/zz-xdebug-mode.ini <<EOF
xdebug.mode=debug,develop
xdebug.start_with_request=trigger
xdebug.client_host=host.docker.internal
xdebug.client_port=9003
; au cas où un trigger de trace trainerait :
xdebug.trace_output_dir=/tmp
xdebug.output_dir=/tmp
EOF'
Would you consider baking this into the image configuration so users don’t have to create it manually?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions