With previous versions of Drupal, in order to get deep insights into what was going on, you would need to install tools like Xdebug or XHProf. Without those, you were limited to what you could do with printing variables to the screen using print_r(), kpr(), dpm() with the Devel module. First, we covered installing the Devel module and using the new Kint module. This allows us to view detailed information about the backtrace as well as any object or Twig template variable. Next, we went over how to use the Web Profiler bundle to get detailed information about each request. This includes:
- Information about the request and route
- The timeline of each component used in building the page
- A list of all queries run on the page