I have an application running Python 2.6.X. Starting the Python interpreter in interactive mode (with or without using virtualenv): readline support working (command history). Starting my application with the same Python interpreter (virtualenv-ed or not): no readline support available when using pdb.set_trace(): cursor keys not working. Operating system is Linux.
Check this recipe to enable readline support in pdb
http://code.activestate.com/recipes/498182-sane-tab-completion-in-pdb/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With