Agree - which is why I use Sentry, which has sensible default and configurable PII filters [0] for staging/production.
For debugging, eh, why not - but I've not previously had the need to enable this, let's say, application-wide (where I see the most advantage compared to just adding dumps of locals() per stack).
For debugging, eh, why not - but I've not previously had the need to enable this, let's say, application-wide (where I see the most advantage compared to just adding dumps of locals() per stack).
[0] https://docs.sentry.io/platforms/python/configuration/option...