You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xdebug is already baked in but unconfigured, which meant users had to
hand-write ini settings every time they wanted to debug against an IDE
on the host.
New scripts/php/xdebug.ini sets mode=off (zero overhead until flipped),
client_host=host.docker.internal, start_with_request=trigger, and
discover_client_host=true. Layered on top of Sury's 20-xdebug.ini via
the 99-xdebug-workspace.ini filename in every SAPI conf.d that loads
xdebug. Staged alongside workspace.ini at /usr/local/share/php-workspace
so pvm applies it to versions installed later too.
With this in place, debugging is just:
XDEBUG_MODE=debug php app.php
or sending XDEBUG_TRIGGER via cookie/query/env at request time.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments