Re:Make Your Python CLI Tools Pop with Rich
by 0x008 on Sunday January 23, 2022 @11:49AM
(#30047668)
What is the difference? Set trace will basically hold the code at that line (breakpoint) and drop you into the interactive debugger session. It seems like syntactic sugar.
edit: but what seems like interesting concept is to overwrite sys.breakpoint_hook to start a custom debug server allowing for remote debugger attachment.
---
[1]: https://docs.python.org/3/whatsnew/changelog.html#id325