10

I am running some cell in an iPython notebook. I used the %%debug command in the head of the cell. Now, when i am on ipdb prompt and i hit the ctrl+space or tab, auto complete can't seem to be working.

How to use auto complete?

Thomas K
  • 39,200
  • 7
  • 84
  • 86
aviyaron
  • 899
  • 1
  • 8
  • 10
  • There is no tab completion in the debugger when using any of the Jupyter frontends. Because of the design, there is not currently an easy way to do that. – Thomas K Mar 19 '16 at 18:56

1 Answers1

4

Install pyreadline:

pip install pyreadline

Open jupyter notebook & run the following in one the cell:

%config IPCompleter.greedy=True

Whenever you want to do autocomplete, just press TAB.

Works for me !!!

Jones1220
  • 786
  • 2
  • 11
  • 22
Bhavya Ghai
  • 75
  • 1
  • 5