I am writing a custom NotebookManager for integrating ActivePapers with IPython. Is there a way to use the Python debugger for this? It's frustrating to get stack traces but not be able to run pdb.pm(). Konrad.