You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and then you should be able to use "module": "my_package" to launch the debugger.
You'll also be able to "run" the module via python -m my_package ... as a bonus :)
I'm not sure if this belongs in
microsoft/debugpy
ormicrosoft/vscode-python
, but it would be nice to be able to debug entry points for a module/package. I found this SO question describing this issue: https://stackoverflow.com/questions/61693769/vs-code-run-debug-configuration-for-a-console-script-in-module-modeThe syntax mentioned in the SO question seems reasonable, but I don't know enough about how
launch.json
works to know if it's appropriate.The text was updated successfully, but these errors were encountered: