Python debugger (pdb) stopped handlying up/down arrows, shows ^[[A instead

后端 未结 3 1666
萌比男神i
萌比男神i 2020-12-18 18:31

I am using python 2.6 in a virtualenv on an Ubuntu Linux 11.04 (natty) machine. I have this code in my (django) python code:

import pdb ; pdb.set_trace()
         


        
3条回答
  •  南笙
    南笙 (楼主)
    2020-12-18 19:06

    See Python interactive mode history and arrow keys. In my case, Amadan's answer worked; I already had the readline module.

提交回复
热议问题