Closed eduzen closed 6 months ago
This is a Rich issue rather than a django-rich one, really. Any fix would need to be upstream. I searched the Rich issue tracker and found: https://github.com/Textualize/rich/issues/1053 . The final comment suggests using a pipe, I tried:
./manage.py example | cat
And that worked for me, disabling the Rich progress stuff and allowing the debugger to work.
Thank you @adamchainz
Python Version
3.12
Django Version
5.0
Package Version
1.8.0
Description
Sorry for bug you @adamchainz When I'm using the example from the documentation
with self.console.status("Starting...") as status:
and I write a breakpoint() I can not debug properly. Thestatus.update(f"Processing {count}...")
interfere with theipdb>
and I can not see what I write. I commented the context manager and status for debugging, and problem gone, but I thought it was nice to write the pain in an issue. I would like to help more with the issue! Have a good day!