View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002070 | Xdebug | Step Debugging | public | 2022-03-03 11:19 | 2022-05-13 16:33 |
Reporter | Growiel | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.1.2 | ||||
Summary | 0002070: xdebug.start_with_request=trigger not working, starts all the time | ||||
Description | Hello, XDEBUG seems to be ignoring My debugging sessions start all the time, even when I don't set any trigger. Here's my config:
But when i do anything at all, XDEBUG tries to start a debug session, for example:
| ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | WSL | ||||
PHP Version | 7.4.20-7.4.29 | ||||
|
Can you add -dxdebug.log=/tmp/xdebug.log and -dxdebug.log_level=10, and then attach what shows in the /tmp/xdebug.log file? cheers, |
|
Here you go:
For good measure I added the content of the |
|
Hi, this is by design, as you can see in this test. If the In order to avoid this, you must not set I will eventually remove this cheers, |
|
Ok thansk. Could at least the documentation be updated? I spent a way too big amount of time on this because I trusted the documentation. There's already a note about "legacy" here: https://xdebug.org/docs/all_settings#start_with_request why not add the fact that simply setting XDEBUG_CONFIG to any value at all act as a trigger? On a personal note I feel like going from Xdebug 2 to 3, you'd expect breaking changes and it's fine to break this one. Thanks. |
|
I've documented this now, and also created a ticket to track the removal of these legacy triggers (there is another one, from 0002068): https://bugs.xdebug.org/2073 |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-03 11:19 | Growiel | New Issue | |
2022-03-03 11:19 | Growiel | File Added: image.png | |
2022-03-03 11:19 | Growiel | File Added: image-2.png | |
2022-03-07 15:49 | derick | Assigned To | => derick |
2022-03-07 15:49 | derick | Status | new => feedback |
2022-03-07 15:49 | derick | Note Added: 0006231 | |
2022-03-08 07:12 | Growiel | Note Added: 0006236 | |
2022-03-08 07:12 | Growiel | File Added: image-3.png | |
2022-03-08 07:12 | Growiel | Status | feedback => assigned |
2022-03-09 16:10 | derick | Status | assigned => resolved |
2022-03-09 16:10 | derick | Resolution | open => no change required |
2022-03-09 16:10 | derick | Note Added: 0006238 | |
2022-03-09 20:46 | Growiel | Note Added: 0006240 | |
2022-03-11 17:57 | derick | Relationship added | has duplicate 0002059 |
2022-03-11 18:03 | derick | Note Added: 0006243 |