[wp-trac] [WordPress Trac] #49953: Xdebug not working out of the box

WordPress Trac noreply at wordpress.org
Thu Mar 20 11:09:59 UTC 2025


#49953: Xdebug not working out of the box
------------------------------+-----------------------------
 Reporter:  Jules Colle       |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  6.8
Component:  Build/Test Tools  |     Version:  5.3
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------------
Changes (by SirLouen):

 * keywords:  has-patch =>


Comment:

 @SergeyBiryukov I've commited a new patch version, switching to `trigger`
 instead of `yes`:
 https://xdebug.org/docs/all_settings#start_with_request

 The problem is that since we are setting mode to `debug` it will start
 xdebug during the github tests

 With `trigger` it will only will be executed on trigger (for example, via
 browser extension to listen to breakpoints, or with `xdebug_break`). Its
 less comfy but it should work well with Github Actions.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49953#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list