Another Hugo Debugging Thingy

I’ve made Yet Another Hugo Debugging Thingy that shows all your page and site variables and params. It’s derived from hugo-debugprint, but it doesn’t dump its output into your HTML, so there’s no need to turn it on and off when you need it or worry about how to put it on your pages.

Instead, it floats an attractive “WTF” button in the lower-right of your browser. Click it and get an overlay showing all your data. Click the close button to dismiss it. You can just leave it enabled while you’re working.

It’s on Github here. What, you want a live demo? Of course, here you go.

Add it as a theme component, call it from your <head>, and Bob’s your uncle.

6 Likes