7

Jupyter Notebook

Hi, what's the proper way to exit ipdb interactive console running in a Jupyter Notebook cell? I've tried exit, quit, Ctrl-Z, Ctrl-C, Ctrl-D (throws up the bookmark request in chrome)

Update: Tried sys.exit(), it killed the kernel of the notebook. How can we just exit the interactive shell without affecting the notebook?

Stark
  • 2,581
  • 2
  • 17
  • 20

2 Answers2

2

In ipdb in interactive mode I exit using: from sys import exit; exit()

Bjoern Dahlgren
  • 931
  • 8
  • 18
-3

type in q to "quit". It works just like regular debug console in terminal

redacted
  • 3,789
  • 6
  • 25
  • 38