Message307513
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 setup.py, as there is no other way to run them.
I have a WIP here: https://github.com/mariocj89/cpython/commit/f47d1b779333657d7d87b21db841d5d3ad6cfa5c
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:41 | mariocj89 | set | recipients:
+ mariocj89 |
2017-12-03 13:36:40 | mariocj89 | set | messageid: <1512308200.99.0.213398074469.issue32206@psf.upfronthosting.co.za> |
2017-12-03 13:36:40 | mariocj89 | link | issue32206 messages |
2017-12-03 13:36:40 | mariocj89 | create | |
|