IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Run and debug Jupyter notebook code cells

Last modified: 10 August 2022

Edition: Ultimate

You can execute the code of the notebook cells in many ways using the icons on the notebook toolbar and cell toolbars, commands of the code cell context menu (right-click the code cell to open it), and the Run commands of the main menu. Note that when you work with local notebooks, you don’t need to launch any Jupyter server in advance: just execute any cell and the server will be launched.

When you stop the server and change the server or kernel, you have to execute all cells with dependencies again, because execution results are valid for the current server session only.

Once you’ve executed the cell, its output is shown below the code. You can save the results or clear the output.

With IntelliJ IDEA you can always quickly preview reference documentation for a particular variable, type, or argument.

Note that the Introspection tab shows documentation for the latest requested code element. Even though you proceed with executing other code cells, restart the server, or delete the line with your request, this information will be shown.

IntelliJ IDEA provides the full-functional Jupyter Notebook Debugger.