Kint slow or timing ut in Drupla 8

  • Posted on: 6 December 2017
  • By: Darko

If you use kint() function to debug Drupal 8, you may experience that it is slow,or tims out. To fix reduce level of nesting, so in you settings.php add following:

require_once DRUPAL_ROOT . '/modules/contrib/devel/kint/kint/Kint.class.php';

Kint::$maxLevels = 3;