How to debug a qweb template?

  • language
      English
  • type
      technical
  • info created for version
      15.0
Add to Cart

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.