Better Debugging with Xdebug
summary
Covers concrete Xdebug changes and demos: Xdebug 3.2/3.3 adds an improved xdebug_info diagnostics log, an xdebug_connect_to_client call for long‑running workers, a small CLI tool (xdb ps / pulse) to attach to running PHP processes on Linux, closure introspection plus a visible __return_value after function returns, smarter breakpoint resolution on empty lines, and path/native breakpoint mapping work in progress. Clickable IDE file links are currently broken, cloud relay runs for ~3 years, and Windows attach support is patched but not yet merged.
AI-written summary · about
chapters (15)
- 0:00Introduction to Xdebug
- 1:08Speaker background and Xdebug overview
- 3:15Xdebug info and diagnostic tools
- 6:47IDE support and VS Code demo
- 10:40Breakpoint improvements and closures
- 14:32PHPStorm debugging features
- 16:21Debugging non-existing files
- 19:57Native breakpoints and path mappings
- 22:03Debugging long-running scripts
- 25:59Xdebug PS and breakpoint signaling
- 29:10Windows and Linux support
- 31:00Docker and host name solutions
- 33:12Name server and complex setups
- 34:38Xdebug Cloud and networking issues
- 36:02Open source sustainability and funding
