"Module not found" while trying to debug with VSC a remote deployed containerized Django app

Viewed 35

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?

1 Answers

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