I made a wrapper around this debug-hugo partial from kaushalmodi
To turn it on, set enabledebugpanel = true
in front matter or add the same variable to the site params in hugo.toml
.
[params]
# defaults to false if not set.
enableDebugPanel = true
It is set to true for this page. You can drag it around, and close it with a double click.