dump(), kint() & print_r() are not working in .theme file I've used drupal 8 with devel module. I want to change some values dynamically in views fields. So i tried to use theme_preprocess_views_view_fields(). When i tried to print variables using print_r(), kint() &amp; dump(), no one print values.

/**
 * Implement theme_preprocess_views_view_fields().
 */
function galip_preprocess_views_view_fields(&amp;$variables) {
  $view = $variables['view'];
  print_r($variables['fields']);exit;
}


I've enabled debug mode true in services.yml file. But i can't get any variables. How can i get variables?
Just include Kint debugger in your theme file:

require_once('modules/devel/kint/kint/Kint.class.php');


and use Kint like so:

Kint::dump( $_SERVER );