I've attached a custom submit handler to node add/edit form for the article content type:
$form['actions']['publish']['#submit'] = 'my_module_node_edit_submit';
In the handler, I am trying to inspect the form state values with kint (via the devel module):
Upon submission of the form, I'm able to briefly see the kint output on the screen, but I am also presented with this message:
Redirecting to http://localhost/example.com/node/123
The page then redirects back to view the node, and the kint output is gone. How can I preserve the kint output so it is available after the redirection?