My question may seem simple but, I have a module that I launch in a terminal like this:
python -m my_module.my_file
How do I debug this in Visual Studio Code?
I have this in my launch.json
(documentation)
"type": "python",
"request": "launch",
"pythonPath": "D:\\ProgramData\\Anaconda3\\envs\\simulec\\python.exe",
"args": ["-m","my_module.my_file",
]
If I don't set the program
option or if I set it to ""
I get "File does not exist" Error.
How can I fix this?