Conexión con el depurador de Python falló: Socket cerrado

Disable "PyQt compatible" checkbox in the Settings under Build, Execution, Deployment --> Python Debugger
Odd Osprey