-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQUEST] Support python -m rich.traceback myscript.py #3441
Labels
Comments
I feel this is low priority. But happy to consider a PR! |
I hope we solved your problem. If you like using Rich, you might also enjoy Textual |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How would you improve Rich?
The Python debugger
pdb
supports running a script with debugging enabled by changing the command line call frompython myscript.py --args
topython -m pdb myscript.py --args
. It would be great to have the same functionality for running a script with rich tracebacks installed:python -m rich.traceback myscript.py --args
. The argument-lesspython -m rich.traceback
could continue to display an example as before.What problem does it solve for you?
This feature would allow using rich tracebacks occasionally for debugging without requiring to change any code or installing
sitecustomize.py
(especially when frequently changing environments).The text was updated successfully, but these errors were encountered: