cubicweb #17219704 add in each html snippet from where it has been generated in the code [resolved]
This is a debugging prototype. When debug mode is activated in pyramid, this will inject '"cubicweb-generate-by="module.Class" cubicweb-from-source="/path/to/code:123"' attributes in html snippets.
Alternatives ideas to explore: - I've tried displaying this information as a debug log but I ended up with ten or even hundred thousand lines of debug message, apart from tuning tmux it's unusable - we can try to integrate that directly into the page as the mockup screenshot shows but that's way more work (but having a "one click link to source" would be awesome)
In the mean time to current "integrate into html" should be doable for 3.27 since the existing patch just needs to reach enough quality.
|closed by||#8caa109dfe94 [debug] add in each html snippet from where it has been generated in the code|