View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002282 | Xdebug | Step Debugging | public | 2024-07-18 15:04 | 2024-07-23 09:22 |
Reporter | zaalbarxx | Assigned To | derick | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Windows | OS | Windows 11 | OS Version | 23H2 |
Product Version | 3.3.2 | ||||
Summary | 0002282: XDebug crashes with XDEBUG_SESSION cookie | ||||
Description | Like I said in previous issues, there seem to be some issue with debugging with Xdebug when triggering it using a 502 Bad Gateway After some checking it looks like it only happens with "web" requests as calling So it appears that it may be a problem with Nginx/php-cgi.exe. Unfortunately I don't have much experience with debugging C errors, so I would gladly listen how to create some debug logs for it. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.1.30-8.1.39 | ||||
|
|
|
What is quite important here, I think it only happens when triggering XDebug using XDEBUG_SESSION cookie, not when passing XDEBUG_SESSION query param, query param properly triggers XDebug, while cookie is crashing. |
|
After some more digging it looks like when I use |
|
I don't have Windows, so I can't install "Laravel Herd for Windows". Does it use PHP-FPM, or something else? Are you sure it's not "Laravel Herd for Windows" causing the problem, perhaps it uses a weirdly compiled PHP. I have no idea, as I've never even heard of it.
What does "it will also work" mean here? Does it mean you see a crash, or something else? In general, wherever you can use "XDEBUG_SESSION/XDEBUG_PROFILE/XDEBUG_TRACE" to get Xdebug's feature going, |
|
I don't think so, previously I was using Yes, it looks like PHP-FPM is used, I see multiple By "it will also work" I mean that creating |
|
Maybe you could provide some steps to gather some more information for debugging purposes like some backtraces or whatever is needed to investigate it further. But given that there are multiple reports of this 502 errors I think they may be related and there may be indeed something going on here. |
|
Ok, it turns out, at least for Herd, it is caused by https://github.com/beyondcode/herd-community/issues/731. |
|
Hi, I do have these instructions listed on the website: https://xdebug.org/reporting-bugs It used to be linked when you report an issue here. I'll have a look at adding that link again. I'm glad you figured out what the problem is, and I shall be closing this ticket. cheers, |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-07-18 15:04 | zaalbarxx | New Issue | |
2024-07-18 15:10 | zaalbarxx | Note Added: 0007017 | |
2024-07-18 15:10 | zaalbarxx | File Added: image.png | |
2024-07-18 15:10 | zaalbarxx | File Added: image-2.png | |
2024-07-18 15:10 | zaalbarxx | File Added: image-3.png | |
2024-07-18 15:10 | zaalbarxx | File Added: image-4.png | |
2024-07-18 15:10 | zaalbarxx | File Added: image-5.png | |
2024-07-18 15:17 | zaalbarxx | Note Added: 0007018 | |
2024-07-18 15:26 | zaalbarxx | Note Added: 0007019 | |
2024-07-18 16:19 | derick | Assigned To | => derick |
2024-07-18 16:19 | derick | Status | new => feedback |
2024-07-18 16:19 | derick | Note Added: 0007020 | |
2024-07-18 18:57 | zaalbarxx | Note Added: 0007023 | |
2024-07-18 18:57 | zaalbarxx | Status | feedback => assigned |
2024-07-18 19:00 | zaalbarxx | Note Added: 0007024 | |
2024-07-18 19:26 | zaalbarxx | Note Added: 0007025 | |
2024-07-23 09:22 | derick | Status | assigned => resolved |
2024-07-23 09:22 | derick | Resolution | open => no change required |
2024-07-23 09:22 | derick | Note Added: 0007027 |