~/talk

Debugging With PhpStorm And Xdebug

Talkat phpday 2021 · 2021-06-08..06-09· [developer-experience]
slides:none on file

Live demo installs Xdebug 3 and connects it to PhpStorm (port 9003) using the browser Xdebug Helper extension then shows breakpoint, conditional breakpoint, watches and expression evaluation on a small blog app. A real setup failure (web server using PHP 7.4 while CLI had PHP 8) gets diagnosed and fixed. The bug fix is concrete: a field name typo (visibility vs hidden) removed the extra post without changing code.

AI-written summary · about

  1. 0:00Start
  2. 2:15Keynote
  3. 3:43Debugging with Phpstorm and Xdebug
  4. 10:46Modes
  5. 12:08Start a New Debugging Session
  6. 12:28Debug Enable
  7. 13:11Phpstorm
  8. 14:26First Breakpoint
  9. 17:11Restart Phpstorm
  10. 31:32Main Advantages
  11. 32:36Live Demo
  12. 33:30Checking if the Maintenance Mode Is Enabled
  13. 34:54Breakpoints
  14. 36:55Run the Context Action Command
  15. 39:09Watches
  16. 40:18Inline Watch
  17. 45:00Is Is It Possible To Debug with Extra Bug in Production
  18. 47:11Conditional Breakpoints
  19. 49:59How To Support Xd Bug Development
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.