Drupal Development with PHPStorm and Xdebug
summary
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
chapters (7)
- 0:00Introduction and background
- 2:53Why use PHPStorm for Drupal
- 9:35Setting up Xdebug in PHPStorm
- 11:42Demo time with PHPStorm
- 27:20Real-world Xdebug use cases
- 39:40Advanced debugging techniques
- 44:17Q&A and troubleshooting








