Home > Software design >  Is it possible to run (and possibly debug) Jupyter notebooks under Eclipse?
Is it possible to run (and possibly debug) Jupyter notebooks under Eclipse?

Time:10-24

I am already using Eclipse with PyDev and am very satisfied with it.

I am looking for a way to run and maybe debug .ipynb files directly from Eclipse.

Is there currently any way to do this? I looked up similar questions on stackoverflow but didn't find a clear answer developing possible options (if any).

CodePudding user response:

If you can run it from the command line, you should be able to create an external tool launch configuration to run it (using the menu Run > External Tools).

For debugging Python code from a notebook you can use the remote debugger (https://www.pydev.org/manual_adv_remote_debugger.html) -- i.e.: something as importing pydevd and calling pydevd.settrace() from the notebook.

Besides that, I'm not aware of any special integration for editing ipynb files in Eclipse.

  • Related