Python debugging in Pycharm

I have followed the steps suggested here: 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:

And I cannot proceed with running any other code.

Any suggestions?

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.