This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mariocj89
Recipients mariocj89
Date 2017-12-03.13:36:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Since PEP 338 we can run python modules as a script via `python -m module_name` but there is no way to run pdb on those (AFAIK).

The proposal is to add a new argument "-m" to the pdb module to allow users to run `python -m pdb -m my_module_name`

This is especially useful when working on cli tools that use entrypoints in, as there is no other way to run them.

I have a WIP here:

Haven't sent the PR as I am still polishing some issues. If it sounds like a good idea I'll clean it up and open the PR.
Date User Action Args
2017-12-03 13:36:41mariocj89setrecipients: + mariocj89
2017-12-03 13:36:40mariocj89setmessageid: <>
2017-12-03 13:36:40mariocj89linkissue32206 messages
2017-12-03 13:36:40mariocj89create