You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have c.InteractiveShell.pdb = True set in my default profile's ipython_config.py so I can more easily debug when I'm developing. But when running papermill I would like to use a different IPython profile, or at least change this setting on the command-line. Is there a preferred way to do this in papermill? This may be related to #387.
The text was updated successfully, but these errors were encountered:
Today it's kind of a pain afaik. You could try adding %config c.InteractiveShell.pdb = False at the top of your notebook. If that works you could also make a custom engine that passes the config this way at the start of your papermill execution before it runs the rest of the cells. Another option might be to make a different ipython kernel for debugging / non-debugging and select the kernel you want to use at that time with -k <kernel_name>.
There is this proposal which would enable the ipython kernel to take config as part of it's API contract: jupyter/enhancement-proposals#46 in the future.
I have
c.InteractiveShell.pdb = True
set in my default profile'sipython_config.py
so I can more easily debug when I'm developing. But when running papermill I would like to use a different IPython profile, or at least change this setting on the command-line. Is there a preferred way to do this in papermill? This may be related to #387.The text was updated successfully, but these errors were encountered: