WSL2 + poetry Debug in outdated remote_sources files
Answered
I run my project in a Poetry virtual env inside a ubuntu 20.04 WSL2 instance
When I update my code and start a debug process The debug shows the old version of the file and the execution result seems consistent with the old code. So it seems that not update the code at all.
I see some posts, and bugs reports, of similar behavior but related to libraries not directly to user code. In any case, I tried the solution reported. I invalidate caches and restart the IDE.
This doesn't, always solves the problem, and is very time-consuming. So is not a viable solution in the long term.
Any solutions or tips for this problem?
Please sign in to leave a comment.
Are you debugging a package that is installed as editable?
There is a known issue with it https://youtrack.jetbrains.com/issue/PY-40581
No, the problem is with my project code debugging. This issue where I get the restart cache wok around, but lately it wasn't working anymore.
It seems to be another bug then.
Please file another ticket to YouTrack and provide steps for reproducing the problem. We'll investigate it.