Pycharm wsl2远程调试:远程文件<;远程文件路径>;映射到本地路径<;本地文件路径>;可以';找不到

Pycharm wsl2远程调试:远程文件<;远程文件路径>;映射到本地路径<;本地文件路径>;可以';找不到,pycharm,wsl-2,Pycharm,Wsl 2,导入时,pycharm上的远程调试器找不到wsl2 PYTHONPATH中的模块。 我在该导入行设置了一个调试行断点,然后进入代码,一个名为的文件打开并通知我: Remote file /mnt/c/Users/wilso/Desktop/Korem_lab/git/ is mapped to the local path C:\Users\wilso\Desktop\Korem_lab\git\ and can't be found. You can continue debugging

导入时,pycharm上的远程调试器找不到wsl2 PYTHONPATH中的模块。 我在该导入行设置了一个调试行断点,然后进入代码,一个名为
的文件打开并通知我:

Remote file /mnt/c/Users/wilso/Desktop/Korem_lab/git/  is mapped to the local path C:\Users\wilso\Desktop\Korem_lab\git\  and can't be found. 
You can continue debugging, but without the source. 
To fix that you can do one of the following:
Edit settings of path mappingcin remote debug configuration
...
因此,我转到路径映射配置以确保远程和本地正确链接, 但是错误并没有消失。
这只是pycharm端的一个bug吗?这很令人沮丧。

是的,我恐怕是这样的,这是一个长期存在的错误。例如,见问题