My colleague made an interesting piece of software called "shader to human" which is sort of like an imgui for shaders.
https://www.youtube.com/watch?v=eitQIHYqZsw
Finally! A HUMAN Way to Debug Shaders... (ShaderToHuman) 🤯

YouTube
@demofox Huh, that's probably very interesting to a bunch of people I know jamming on their own tiny engines, cheers
@demofox LYGIA shader language have also a bunch of debugging functions https://lygia.xyz/draw