Skip to content
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

Retain command history between sessions like ipdb can #69

Open
rob-levy-minimum opened this issue Oct 17, 2024 · 1 comment
Open

Retain command history between sessions like ipdb can #69

rob-levy-minimum opened this issue Oct 17, 2024 · 1 comment

Comments

@rob-levy-minimum
Copy link

When I drop into a debugger with this setting in pytest.ini:

    --pdbcls=IPython.terminal.debugger:TerminalPdb

then I can use the up/down arrows (or ctrl+P) to browse command history from previous ipdb sessions. I don't know how on earth this works but it's incredibly useful.

Is this possible in pdb+?

@mdmintz
Copy link
Owner

mdmintz commented Oct 17, 2024

The up/down arrows are working for me for the current session. History isn't saved from previous debugging sessions. You can probably combine Pdb+ with the IPython debugger if you want to merge the abilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants