# Python debugging in Pycharm

**URL:** <https://discourse.slicer.org/t/python-debugging-in-pycharm/14461>\
**Category:** Support\
**Tags:** debug\
**Created:** [November 6, 2020, 3:43pm UTC](https://discourse.slicer.org/t/python-debugging-in-pycharm/14461 "2020-11-06T15:43:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Masteling](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/masteling/32/13587_2.png) [@Masteling](https://discourse.slicer.org/u/Masteling)\
**Post date:** [November 6, 2020, 3:43pm UTC](https://discourse.slicer.org/t/python-debugging-in-pycharm/14461/1 "2020-11-06T15:43:01Z")

</div>

I have followed the steps suggested here: [Documentation/Nightly/Extensions/DebuggingTools - Slicer Wiki](https://www.slicer.org/wiki/Documentation/Nightly/Extensions/DebuggingTools)

And I am able to connect Slicer and Pycharm, however, after the connection is established this error occurs:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/f/0f3153e95b04a850b60a20ec81ff3f2b56cfeeb4.png)

And I cannot proceed with running any other code.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 6, 2020, 4:03pm UTC](https://discourse.slicer.org/t/python-debugging-in-pycharm/14461/2 "2020-11-06T16:03:50Z")

</div>

I’ve just updated PyCharm and I see this error message appear (this a regression in this latest PyCharm version), but it does not cause any problems. You can still add breakpoints and the debugger stops at them.
