-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add XDebug config to support php debugging. #3818
Changes from 9 commits
c385fd2
4cb9a04
e866fec
fef0e91
935b004
cbe11bd
9a7cadf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[xdebug] | ||
zend_extension=xdebug.so | ||
xdebug.mode=debug | ||
xdebug.start_with_request=yes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Never do this. Allow the triggers to function as they should. |
||
xdebug.client_host=host.docker.internal | ||
xdebug.client_port=9000 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Absolutely no reason to override the default. Since Xdebug 3, the default is 9003, for good reason (because 9000 conflicts with FPM and many other services). |
||
xdebug.idekey=docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good start, but is also naive since it only supports debugging and not tracing or development helpers. I suggest this should be set to
develop,debug
for now, anddevelop,debug,trace
once sane trace defaults are configured.