79396330

Date: 2025-01-29 10:05:40
Score: 0.5
Natty:
Report link

Unfortunately I believe that Odoo doesn't actually stop when a breakpoint is encountered (Either python's breakpoint() or the one you set in VSCode).

The easiest way to debug that I've found is to just log whatever value I want to check with _logger.info(f"your string: {your_value}").

It is not the fastest way, but that's what works for me!

Reasons:
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrea Tasselli