~/talk

Drupal Development with PHPStorm and Xdebug

Talkat MidCamp 2017 · 2017-03-30..04-02· [php]
links:none on file
slides:none on file

Shows how to wire PhpStorm to Xdebug (default port 9000), enable Xdebug in Acquia Dev Desktop or DrupalVM, and set path mappings so breakpoints hit remote code; demonstrates the Chrome Xdebug helper extension to start sessions. Walks through breaking in a theme preprocess, stepping/force-stepping into functions, rerunning the request, and inspecting deep render-array values. Notes CLI vs web Xdebug differences, missing PHP7 Xdebug builds in some Dev Desktop releases, and that a bug was found and fixed in 15 minutes.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:53Why use PHPStorm for Drupal
  3. 9:35Setting up Xdebug in PHPStorm
  4. 11:42Demo time with PHPStorm
  5. 27:20Real-world Xdebug use cases
  6. 39:40Advanced debugging techniques
  7. 44:17Q&A and troubleshooting
~/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.