On Thu, Jan 4, 2018 at 1:56 PM, Mario Corchero <marioc...@gmail.com> wrote:
> 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`

Mega +1, I always, always want this, for every command that itself can
invoke other python scripts. There is prior art in that this feature
was already added to cProfile as well:
https://bugs.python.org/issue21862

-- Devin
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to