Xdebug documentation with PHPStorm#2439
Draft
alli83 wants to merge 2 commits into
Draft
Conversation
kencho51
reviewed
Aug 14, 2025
|
|
||
| ## 1. Configure Xdebug | ||
|
|
||
| You must configure it. You can do this in an `.ini` file in `docker/php/conf.d`: |
Contributor
There was a problem hiding this comment.
Hi @alli83,
Regarding the .ini file, is it this one ops/configuration/php-conf/xdebug.ini in our codebase?
Is it better to push the updated xdebug.ini file in this PR, so we all can use it after merge?
kencho51
reviewed
Aug 14, 2025
| You must configure it. You can do this in an `.ini` file in `docker/php/conf.d`: | ||
|
|
||
| ```ini | ||
| #Xdebug 2 |
Contributor
There was a problem hiding this comment.
Why there are two lines containing the same zend_extension=xdebug.so?
Collaborator
Author
There was a problem hiding this comment.
there are two different configurations: either Xdebug 2 or Xdebug3
alli83
commented
Aug 14, 2025
|
|
||
| ```ini | ||
| #Xdebug 2 | ||
| zend_extension=xdebug.so |
Collaborator
Author
There was a problem hiding this comment.
need to comment this line
alli83
commented
Aug 14, 2025
| xdebug.remote_port=9003 | ||
|
|
||
| #XDebug3 (PHP 8 images) | ||
| zend_extension=xdebug.so |
Collaborator
Author
There was a problem hiding this comment.
need to comment this line
alli83
marked this pull request as draft
August 14, 2025 09:35
alli83
commented
Aug 14, 2025
| dockerfile: ../packaging/Dockerfile | ||
| args: | ||
| ... | ||
| - INSTALL_XDEBUG="true" |
Collaborator
Author
There was a problem hiding this comment.
typo: remove quotes
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request for issue: #2436
This is a pull request for the following functionalities:
XDebug documentation with PHPStorm
How to test?
How have functionalities been implemented?
Any issues with implementation?
Any changes to automated tests?
Any changes to documentation?
Any technical debt repayment?
Any improvements to CI/CD pipeline?