you can set breakpoint() to open an IPython REPL with whatever customizations you want (e.g. I turn on vim keybindings)