I am trying to adapt the remote debug setup as described here: https://www.jetbrains.com/help/pycharm/remote-debugging-with-product.html
However, I am stuck at getting the SSH server up and running inside a Singuarity container. A support request has been submitted here: https://github.com/sylabs/singularity/issues/4319
The SSH server support by Singularity may take some time, so I ask pyCharm developers for an alternative:
Can I connect to a Singularity shell from pyCharm to carry out remote debugging of python code?
The connection will be like this: Laptop running pyCharm -> SSH to Singularity Host -> run singularity shell instance://<instancename> -> Debug
Currently, at the final step of adding a remote interpreter, the sanity check refuse a call to the python inside a running instance (see image below)