# Pausing program in Pycharm when connected to Slicer

**URL:** <https://discourse.slicer.org/t/pausing-program-in-pycharm-when-connected-to-slicer/21536>\
**Category:** Development\
**Created:** [January 20, 2022, 1:21am UTC](https://discourse.slicer.org/t/pausing-program-in-pycharm-when-connected-to-slicer/21536 "2022-01-20T01:21:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juicy](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@Juicy](https://discourse.slicer.org/u/Juicy)\
**Post date:** [January 20, 2022, 1:21am UTC](https://discourse.slicer.org/t/pausing-program-in-pycharm-when-connected-to-slicer/21536/1 "2022-01-20T01:21:46Z")

</div>

Hi all,

I have been trying to follow the instructions [here](https://github.com/SlicerRt/SlicerDebuggingTools) 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?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/c/9c016140fe581ea3033d8e678faa16a7d0e85e04.png)
