python - Debugging inside PyCharm IPython -
is possible hit graphical breakpoints when running codes in pycharm's ipython console?
i.e.:
- you have script foo() in foo.py
- you place graphical breakpoint inside foo() editor (the red dot next line number)
- you import foo pycharm's ipython console , execute foo() (note: not running debug configuration!)
yes, is. not automatic.
(using 4.5.2, windows 8)
i run ipython notebook, , let pycharm kick off notebook backend.
i hit tools, attach process , attempt identify pid of notebook process. i'm yet find smooth way of doing this. use process explorer, find pycharm entry, , watch new sub-processes after notebook server starts. want leaf python.exe process, e.g:
6268 pycharm.exe 1235 python.exe (new when notebook launched) 7435 conhost.exe (new) 9237 python.exe (new - pick pid)
i can run cell , hit graphical breakpoints.
enjoy.
Comments
Post a Comment