Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

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

Parent Feed: 

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

Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web