Issue
I'd like to know how to set breakpoints in IPython
notebook on PyCharm.
If it's possible, please let me know.
Solution
You must start IPython Notebook from Pycharm's run
- Find the IPython path (ex
which ipython
on linux). Copy the resulting path, we will need it! - On PyCharm go to Run > Edit Configuration > + button on top left most corner (add configuration) > Choose Python. Give your configuration a name.
- On the configuration tab, in the Script textbox, paste the path from step 1. On the script, parameters write
notebook
. - Apply then Ok.
This is essentially like calling ipython notebook
from the terminal
Now place your brakepoints and run the notebook from PyCarm (Shift+F10 or click the playbutton).
Answered By - John Moutafis
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.