Kint Debugging not Showing (Drupal 8 Web Development Tips)

Tips and Tricks

  1. If Kint Debugging is not showing variables on the Drupal 8 website, here is what you do:
  • Navigate to your project folder and find this path (/web/sites/default)
  • In the defualt folder you will see a file called services.yml
  • Edit the file "services.yml" and change the following to true: debug: true  auto_reload: true cache: false
  • After changing those flags and try to clear the cache in the administrator Configuration settings, you find Performance link under Development Section. Clear the cache and implement Kint in your code. Kint should now display variables for debbugging purposes.