Remote debugger path not found

I’m try to set up Pycharm on my local Mac to edit and generally manage my python code on my Linux “ build host”.  There is plenty of other non python on the build host so relocating code isn’t an option. The build box is headless, so running the ide natively isn’t an option either. 

I have the ssh connection set up and I can edit and find files. The python console opens and uses the remote python and has the remote site packages too


However, I can not run anything in the debugger because there is a path messed up somewhere. In both run and debug (click on the green arrow in the left margin) I get the same error in their respective console



bash: line 0:cd: /tmp/ mumble /path/i/recognise: Nosuch file or directory 


This is of course correct, the unknown directory in /tmp does not exist.  What is supposed to create this directory? And where did it come from?  I expected to run straight from the Python source directory (path/i/recognize above)


I have pycharm  2024.1 RC on a Mac. 

0
Hello, 
It's probably an issue with the deployment configuration. It happens when the deployment path mapping is set to a random /tmp directory, the server is restarted at some point, and the /tmp folder is cleared, but after reconnecting to PyCharm, the files aren't uploaded. 
Please try re-creating a remote interpreter with a new deployment configuration (if possible, also specify a different path mapping to prevent this issue in the future) and let us know if the problem continues.
If this doesn't help, please upload PyCharm logs (Help | Collect Logs and Diagnostic Data) here: https://uploads.services.jetbrains.com/ and tell us the upload ID. Also, take a screenshot of path mappings in the related deployment configuration, which is located in Settings | Build, Execution, Deployment | Deployment.
0

请先登录再写评论。