Front-end engineer with a passion for learning something new every day

Drupal 8 Video Tutorial: How to Get Started with Xdebug using PHPStorm with Docksal

In this video tutorial, I show you how to get up and running with Xdebug and PHPStorm using Docksal. Xdebug is a great way to debug Drupal sites. Using this tool, you can examine render arrays, evaluate expressions, determine variable paths, and more. By using Docksal with Xdebug, it takes some of the complexity out of setting this up natively on your machine.

Before I learned how to use Xdebug, I was using Kint to debug in Drupal 8. However, From my experience, Kint is really slow performance-wise and depending on what you are trying to debug, it can take a bit for a page to load. By contrast, Xdebug is instantaneous and has sped up my workflow considerably.

Resources

Tags

Read other blog posts