-
Notifications
You must be signed in to change notification settings - Fork 20
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
pdb and/or ipdb support #65
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
It would be great if pdb and/or ipdb were supported via the
pp
debugger command (or a new debugger command that has similar behaviour). My uninformed guess is that ipdb may be more open to extension in this way, but it may be that pdb can be monkey-patched.Right now I use this function:
Then I have to import it using the
!
debugger command, then pretty print again using that command, like:This works fine, but it's clunky if you run the debugger more than a few times.
What I Did
import pdb; pdb.set_trace()
in some codepp
command (NOT thepp
function above):Expect: output printed using prettyprinter.
Got: output printed using module pprint.
The text was updated successfully, but these errors were encountered: