Is Devel module's dsm() function available in page.html.twig? If it is not available, is there a way to make it available?
I am able to use dsm() in .theme file but not in page.html.twig.
I am aware of dump() function in .twig. dump() is similar to var_dump() of php and the output is not as clean as Devel module's dsm() function.
Using dsm() or dpr() in page.html.twig causes error and site does not load.