Life after Xdebug setup.
summary
Live demos use Drupal 8 with Xdebug and PHPStorm to show what actually gets inspected and changed: stepping step into/over/out to find IDs, using evaluate expression to run and modify values on the fly, and toggling or mute all breakpoints to stop noisy loops. Examples include debugging entity pre_save and node preprocess to extract titles and add twig variables, and altering a Views exposed form to hide a field — the change is applied and verified after clearing cache. Notes on CLI, remote debugging, performance, and conditional breakpoints.
AI-written summary · about
chapters (18)
- 0:00Introduction to talk
- 1:04Who is this talk for
- 2:08Xdebug performance impact
- 3:37Live demo begins
- 5:02Debugging entity pre-save
- 8:14Inspecting entity values
- 10:31Stepping into functions
- 12:53Evaluating expressions
- 14:43Navigating breakpoints
- 16:12Managing breakpoints
- 17:35Debugging preprocess hooks
- 19:12Inspecting theme variables
- 21:11Conditional logic in themes
- 24:11Editing and testing changes
- 26:11Debugging forms
- 27:54Inspecting form elements
- 30:10Modifying form attributes
- 32:32Q&A begins
