Correct CLI configuration for Xdebug
I do not understand the difference, but the current configuration hangs for me. Derek recommended the following, which seems to work fine.
cf https://twitter.com/derickr/status/1591103603640762368
Deploy request for lando-docs accepted.
| Name | Link |
|---|---|
| Latest commit | f18530e7cb6f67d89be1280efa644a6d07911300 |
| Latest deploy log | https://app.netlify.com/sites/lando-docs/deploys/63728d83b88c6b000913e4b8 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.
As far as I can tell, XDEBUG_SESSION_START is still valid and hasn't been deprecated. From a brief look at the Xdebug docs, it seems like XDEBUG_TRIGGER allows you to set a trigger value that will initiate all types of Xdebug functionality (profiling, step or trace debugging), whereas XDEBUG_SESSION* is specific to step debugging.
I'm nervous to change these recommendations since they seem to work for a lot of people, would love some more feedback on this from someone who has rigorously tested Xdebug settings or understands the implications of using one setting vs another.