• Reset your password
Home
OO PHP, Drupal, Symfony Developer and Architect
Tim Rabbetts

Main navigation

  • Home
  • Blog
  • Log in

Get kint debug working in Drupal 8.

Breadcrumb

  • Home
  • blog
  • get kint debug working in drupal 8
  • Get kint debug working in Drupal 8.
Tim
Rabbetts
By zarexogre | Thu, 24/09/2020
scan, system, bug
drupal

I enabled the devel module, but my ksm($var) code just dumps out as normal markup.

Need to install kint library.

composer require kint-php/kint
drush cr ## important!

Need to then change variable debugger from default to kint here:

/admin/config/development/devel

Then it worked!