getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.6k stars 445 forks source link

Add note about how to debug with doit #3659

Closed gpaumier closed 1 year ago

gpaumier commented 1 year ago

People used to debugging with Python might be confused about why they're not able to get the PDB shell after inserting a regular set_trace. I think it's helpful to add a short note in the doc about the need to use doit's own set_trace.

(It's me, I'm people. I used doit's set_trace in the past to debug a custom Task, but then I forgot about it recently when I needed to do more debugging. Hopefully this is helpful to those who come after me.)

Pull Request Checklist

Description