Home > Software design >  "Module not found" while trying to debug with VSC a remote deployed containerized Django a
"Module not found" while trying to debug with VSC a remote deployed containerized Django a

Time:11-09

I have a django app inside a container that is deployed in a remote server. I have successfully set up VSC in order to debug my app. I have started debugging my django app but I get the error ModuleNotFound while debugging.

enter image description here

Obviously, since the django app is deployed and working perfectly, all requirements modules do exists. Despite that, I get this error. Any ideas?

CodePudding user response:

I think that you need to choose your python interpreter with installed Django.

Usually it placed on \venv\Scripts\bin\python

enter image description here

  • Related