Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pycharm - Code Cells - Using breakpoint

Tags:

I am using the new feature of PyCharm 2018 called 'Code cells'. Can I place a breakpoint within the cell and have the execution break when I hit that line? I use Ctrl+Enter to run the code cell.

like image 429
tonysepia Avatar asked Apr 18 '18 14:04

tonysepia


People also ask

Can you run notebooks in PyCharm?

With Jupyter Notebook integration available in PyCharm , you can easily edit, execute, and debug notebook source code and examine execution outputs including stream data, images, and other media.


1 Answers

Unfortunately, it's impossible to debug editor code cells independently, I created a feature request in PyCharm bug tracker: PY-29672. Please feel free to vote for it.

like image 145
Pavel Karateev Avatar answered Oct 04 '22 16:10

Pavel Karateev