Why displayed on a separate page with a redirect?

Created on 6 August 2025, 27 days ago

Problem/Motivation

Devel depricated kint https://gitlab.com/drupalspoons/devel/-/commit/2dbed12aaa0037c9cc19bea67... and because I don't know what else to use, I installed https://www.drupal.org/project/kint .

I see this module works different. It opens a new window, display messages on a dedicated clean white page and then immediately redirects to the original content page.

Was opening variables inline on original page together will all other messages (like devel worked) not better? I used kint like a website feature before to print variables.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

2.1

Component

Code

Created by

🇱🇹Lithuania mindaugasd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mindaugasd
  • 🇳🇱Netherlands J V

    It sounds like you're dumping during a form submission which then completes and redirects. When you dump through devel it saves the dump into the session flashbag to display it to you on the page load after the redirect.

    If you have both drupal/kint and drupal/devel installed, you can select kint as the source of dumps from the devel configuration settings and continue to use devel functions like dpm to get the behavior you're looking for (But minus some kint native features like parameter names)

    Can you give that a try and see if my guess is right?

  • 🇱🇹Lithuania mindaugasd

    Thank you for your quick support.

    I did as you explained, and now it works as devel worked before,

    Plus I wrote this little function in custom module for existing ksm() uses to continue working.

    function ksm(&$var) {
      dpm($var);
    }
    
    But minus some kint native features like parameter names

    Maybe I won't miss what I never tried yet:)

  • 🇳🇱Netherlands J V

    Glad it worked out!

    Maybe I won't miss what I never tried yet:)

    Maybe, but I hope you enjoy the improved performance: I put some drupal specific tweaks in here and a module to show entity fields :)

Production build 0.71.5 2024