mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-32206: Update pdb usage to include new module option (GH-5111)
This commit is contained in:
parent
dd0e087edc
commit
fcf8b4c102
2 changed files with 8 additions and 3 deletions
|
@ -1638,9 +1638,11 @@ def help():
|
|||
pydoc.pager(__doc__)
|
||||
|
||||
_usage = """\
|
||||
usage: pdb.py [-c command] ... pyfile [arg] ...
|
||||
usage: pdb.py [-c command] ... [-m module | pyfile] [arg] ...
|
||||
|
||||
Debug the Python program given by pyfile.
|
||||
Debug the Python program given by pyfile. Alternatively,
|
||||
an executable module or package to debug can be specified using
|
||||
the -m switch.
|
||||
|
||||
Initial commands are read from .pdbrc files in your home directory
|
||||
and in the current directory, if they exist. Commands supplied with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue