Nick Coghlan <ncogh...@gmail.com> added the comment: Issue 32206 covers doing this for `pdb`. It relies on directly accessing private APIs in the `runpy` module, but we can live with that, since `pdb` is part of the standard library.
---------- dependencies: +Run modules with pdb, cProfile command-line should accept "-m module_name" as an alternative to script path _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue9325> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com