mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Add documentation for remote debugging with pdb (#134260)
* Mention remote debugging via -p PID in usage text Adds a brief note to the pdb help summary about attaching to a running process using the -p option, making the remote debugging feature more visible. * Mention remote debugging in pdb.rst
This commit is contained in:
parent
2f0570caf4
commit
6856a04d68
2 changed files with 21 additions and 2 deletions
|
@ -3489,7 +3489,8 @@ def help():
|
|||
_usage = """\
|
||||
Debug the Python program given by pyfile. Alternatively,
|
||||
an executable module or package to debug can be specified using
|
||||
the -m switch.
|
||||
the -m switch. You can also attach to a running Python process
|
||||
using the -p option with its PID.
|
||||
|
||||
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