diff options
author | Stéphane Wirtel <stephane@wirtel.be> | 2018-07-29 10:27:16 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2018-07-29 10:27:16 (GMT) |
commit | b7fd73896db5666020e382c010b8da900260ede4 (patch) | |
tree | 0c56e090ead0f6fdaec1d1529d3b1960965a4ce4 | |
parent | c536beedd50b0071208b4108ba9b48a36ffced79 (diff) | |
download | cpython-b7fd73896db5666020e382c010b8da900260ede4.zip cpython-b7fd73896db5666020e382c010b8da900260ede4.tar.gz cpython-b7fd73896db5666020e382c010b8da900260ede4.tar.bz2 |
bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)
-rw-r--r-- | Misc/python.man | 3 | ||||
-rw-r--r-- | Modules/main.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/python.man b/Misc/python.man index a191cab..3cdf884 100644 --- a/Misc/python.man +++ b/Misc/python.man @@ -495,6 +495,9 @@ directory and Distutils installation paths for If this environment variable is set to a non-empty string, Python will show how long each import takes. This is exactly equivalent to setting \fB\-X importtime\fP on the command line. +.IP PYTHONBREAKPOINT +If this environment variable is set to 0, it disables the default debugger. It +can be set to the callable of your debugger of choice. .SS Debug-mode variables Setting these variables only has an effect in a debug build of Python, that is, if Python was configured with the diff --git a/Modules/main.c b/Modules/main.c index 3a6cf31..8000a1a 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -144,6 +144,8 @@ static const char usage_6[] = "PYTHONCOERCECLOCALE: if this variable is set to 0, it disables the locale\n" " coercion behavior. Use PYTHONCOERCECLOCALE=warn to request display of\n" " locale coercion and locale compatibility warnings on stderr.\n" +"PYTHONBREAKPOINT: if this variable is set to 0, it disables the default\n" +" debugger. It can be set to the callable of your debugger of choice.\n" "PYTHONDEVMODE: enable the development mode.\n" "PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files.\n"; |