Debugging Drupal: An intro into Drupal and xDebug

Speakers: 

When Drupal works it works, and when it breaks… it really breaks. Debugging what is causing a WSOD, or why a module is outputting an incorrect values is often tedious, time consuming and a hacky process of placing dpm()’s all over your drupal codebase. However there is a better way, by using the widely adopted PHP extension xDebug! With xDebug you can step through Drupals' execution chain and see what is happening “under the hood”. Allowing you to more quickly identify what may be causing problems, and how to fix them. No hacking of core required!

In this session we will cover;

  • What xDebug is and how it differs from other debugging tools
  • Basics for getting xDebug setup to use for debugging Drupal (7 & 8)
  • Examples of how to use xDebug for debugging Drupal
  • How using xDebug can improve your ability to identify what is causing problems more quickly.
Schedule info
Experience level: 
Intermediate
Drupal Version: 
Drupal 8.x