4 ms·
I use ipython a lot, and it has a great post-error debugger with `%debug` which drops you in a ipdb shell at the stackframe of the error. Concerning reloading,
by cl3misch 6y ago
I use ipython a lot, and it has a great post-error debugger with `%debug` which drops you in a ipdb shell at the stackframe of the error.
Concerning reloading, I find `%autoreload` much more reliable than `importlib.reload`. The latter can't handle `from lib import foo` or if a dependency inside an imported package changed. `%autoreload` just does this all automagically.
- jsmeaton 6y agoI’ve never had autoreload work for me - is there anything special to it? For context, I’m often working in a Django shell.