Drupal Development with PHPStorm and Xdebug
summary
Step-by-step setup for PhpStorm + Xdebug and how to make breakpoints actually stop PHP execution: enable Xdebug in php.ini (uncomment the module), set the XDEBUG_IDE_KEY, start PhpStorm listening and add a matching remote server, use the Chrome Xdebug Helper bookmarklet or extension to toggle sessions, and map server paths when using Drupal VM so files match. Demo shows a breakpoint in Drupal bootstrap halting execution and variables visible in the IDE; it works when mappings and IDE key are correct.
AI-written summary · about
