How to show kint debug info from a module on a page?
Try to take a look at this site it has a lot if useful information, print variables using kint.

They say that if you want to output in the message area then you shall use, ksm().