Skip to content

Instantly share code, notes, and snippets.

@dcb9
Created August 30, 2023 03:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcb9/54efe6c8674681b39156850f3e9eb7b6 to your computer and use it in GitHub Desktop.
Save dcb9/54efe6c8674681b39156850f3e9eb7b6 to your computer and use it in GitHub Desktop.
My .pdbrc file
# autocompletion
import rlcompleter
import pdb
pdb.Pdb.complete=rlcompleter.Completer(locals()).complete
# show source code context before and after current line
alias n next ;; l
alias s step ;; l
alias u up ;; l
alias d down ;; l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment