[wp-trac] [WordPress Trac] #63979: WordPress Core setup does not configure XDebug properly

WordPress Trac noreply at wordpress.org
Mon Sep 15 14:22:48 UTC 2025


#63979: WordPress Core setup does not configure XDebug properly
-------------------------------+------------------------------
 Reporter:  jdeep              |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Build/Test Tools   |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by jdeep):

 Replying to [comment:8 SirLouen]:
 > Replying to [comment:7 jdeep]:
 > > {{{#!php
 > > Version: 1.103.2 (Universal)
 > > Commit: 6f17636121051a53c88d3e605c491d22af2ba755
 > > Date: 2025-08-20T16:45:34.255Z (3 wks ago)
 > > Electron: 37.2.3
 > > ElectronBuildId: 12035395
 > > Chromium: 138.0.7204.100
 > > Node.js: 22.17.0
 > > V8: 13.8.500258-electron.0
 > > OS: Darwin arm64 24.6.0
 > > }}}
 >
 > My bad. I was willing to ask, what is the `launch.json` file you are
 using in VSCode.

 Yeah. This is my `launch.json`:
 {{{
 {
     "version": "0.2.0",
     "configurations": [
         {
             "name": "Listen for Xdebug",
             "type": "php",
             "request": "launch",
             "port": 9003,
             "pathMappings": {
                 "/var/www": "${workspaceFolder}",
                 "/var/www/src": "${workspaceFolder}/src",
                 "/var/www/build": "${workspaceFolder}/build"
             },
             "hostname": "0.0.0.0",
             "xdebugSettings": {
                 "max_children": 128,
                 "max_data": 2048,
                 "max_depth": 3
             }
         },
     ]
 }
 }}}

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


More information about the wp-trac mailing list