How to debug a qweb template?
Add --dev=qweb as a startup parameter.
Add <t t-debug="pdb"></t> to your qweb template where you want a breakpoint.
Inspect the page in your browser and the debugger will pause at the breakpoint.
Add --dev=qweb as a startup parameter.
Add <t t-debug="pdb"></t> to your qweb template where you want a breakpoint.
Inspect the page in your browser and the debugger will pause at the breakpoint.