inducer / pudb

Full-screen console debugger for Python
https://documen.tician.de/pudb/
Other
3k stars 230 forks source link

Support running as module (`pudb3 -m some_module`) #389

Closed eliasdorneles closed 4 years ago

eliasdorneles commented 4 years ago

It would be nice if we could run pudb3 -m some_module .... similarly to how we can do with pdb (python -m pdb -m some_module).

This is useful when you want to debug some code not necessarily written by you, which you must run with python -m module.

inducer commented 4 years ago

I agree. I'd be happy to take a patch.

eliasdorneles commented 4 years ago

Closing this, now that #390 is merged :)