Pausing program in Pycharm when connected to Slicer

Hi all,

I have been trying to follow the instructions here for connecting Pycharm to slicer. I am trying to find a better way to debug code than copy and pasting lines into the python interactior.

First I open one of my .py files containing a python script in pycharm professional, then I follow the instructions in Github and it seems to connect ok but I cannot use the terminal because Pycharm tells me I need to pause the process. When I add breakpoints or try to push the pause button nothing happens and I can’t seem to get anywhere. Does anyone have any experience with this?