Jupyter notebook debugger interactive terminal?
So it seems in 2019.1+ you can use the debugger with the pycharm (professional edition) IDE to set break points in jupyter notebooks. It seems you can also view variables and stuff. I was wondering, is is also possible to use an interactive terminal to run commands while paused on a breakpoint inside a jupyter cell? It's definitely possible to do this when running a python script, but it doesn't seem to be possible when I tested this out on a jupyter notebook.
Please sign in to leave a comment.
Hi,
Yes, debugger console is currently not supported for Jupyter, we have an internal feature request for that. You can leave your vote and comments here: https://youtrack.jetbrains.com/issue/PY-37452
Seems comments are disabled. I'd probably buy pycharm professional if it supported this feature so I'd definitely like to upvote.
Comments should be available if you log in.
Hi,
To me, the debugger console is very useful and looking forward to this feature in pycharm soon. However, I use qtconsole in its absence.
First, to install qt_console from pycharm, I installed necessary modules from Settings (ctrl + alt + s) > Python Interpreter > (selected conda since I use its environment) then click + sign. Installed PyQt related modules to be able to run qt_console.
Second, to run qt_console with two options:
1) from Terminal inside PyCharm:
jupyter qtconsole --existing
2) from notebook cell:
%qtconsole
Hope it helps!