docs icon indicating copy to clipboard operation
docs copied to clipboard

Correct CLI configuration for Xdebug

Open Crell opened this issue 3 years ago • 3 comments

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

Crell avatar Nov 14 '22 18:11 Crell

Deploy request for lando-docs accepted.

Name Link
Latest commit f18530e7cb6f67d89be1280efa644a6d07911300
Latest deploy log https://app.netlify.com/sites/lando-docs/deploys/63728d83b88c6b000913e4b8

netlify[bot] avatar Nov 14 '22 18:11 netlify[bot]

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.

stale[bot] avatar Jun 07 '23 21:06 stale[bot]

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.

reynoldsalec avatar Jun 15 '23 20:06 reynoldsalec