Configuration Works for Run but Debug Fails with No Module Name [my.module] Error

The 'no module' error seems to point to an issue with the interpreter, but the pipenv interpreter is working when I run the program instead of debugging, and the configurations are the same.

Here is the config:

 

This is the program running OK when I run with the configuration: 

 

This is the error I get when trying to debug:

Please sign in to leave a comment.