Open guaido79 opened 1 year ago
I am unable to reproduce on a new install of PyCharm Professional 2022.3.3
/var/lang/bin/python3.9: can't open file '/tmp/lambci_debug_files/pydevd.py': [Errno 2] No such file or directory
On Mac, we mount <PYCHARM>/Contents/plugins/python/helpers/pydev
into /tmp/lambci_debug_files
It seems like pydev
isn't in the PyCharm installation for some reason. Have you tried reinstalling PyCharm?
I've a fresh new new installation of PyCharm, downloded to the last version.
The files seems to be there:
It seems that the mount was unsuccessfull.
I've try to delete image from docker causing to build a new one, but still on error.
any updates on this issue? I have the same error
Do you happen to have any updates on the issue? I am encountering the same error as well.
/var/lang/bin/python3.11: can't open file '/tmp/lambci_debug_files/pydevd.py': [Errno 2] No such file or directory
Workaround for M1 Mac/Rancher Desktop (lima): https://stackoverflow.com/a/77803515/8751739
FYI Docker -> Preferences... -> Resources -> File Sharing add /Applications works.
@rumbarum That is only valid for Docker Desktop, right?
I got it fixed, by passing --debugger-path /Users/xyz/pydev to SAM CLI local invoke cmd. you may need to check whether pydev is installed, generally in case if PyCharm on MAC it is here at /Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev (PCharm CE) or /Applications/PyCharm CE.app/Contents/plugins/python/helpers/pydev (PyChram professional), however, copy pydev folder to someother location and pass the path to SAM CLI --debugger-path flag.
@rumbarum That is only valid for Docker Desktop, right?
I'm using Rancher Desktop, works for me if running dockerd as container runtime, so it would be right to say that it may work for Docker Desktop as well..
Describe the bug Running Local Debug on unmodified hello world project will throw error:
To reproduce python3 --version Python 3.9.6
Expected behavior The application start and hit the breakpoint in the implementation
Screenshots There is an error:
Your Environment
Additional context