Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7fd738

Browse files
matrixisezooba
authored andcommitted
bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)
1 parent c536bee commit b7fd738

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

Misc/python.man

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,9 @@ directory and Distutils installation paths for
495495
If this environment variable is set to a non-empty string, Python will
496496
show how long each import takes. This is exactly equivalent to setting
497497
\fB\-X importtime\fP on the command line.
498+
.IP PYTHONBREAKPOINT
499+
If this environment variable is set to 0, it disables the default debugger. It
500+
can be set to the callable of your debugger of choice.
498501
.SS Debug-mode variables
499502
Setting these variables only has an effect in a debug build of Python, that is,
500503
if Python was configured with the

Modules/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ static const char usage_6[] =
144144
"PYTHONCOERCECLOCALE: if this variable is set to 0, it disables the locale\n"
145145
" coercion behavior. Use PYTHONCOERCECLOCALE=warn to request display of\n"
146146
" locale coercion and locale compatibility warnings on stderr.\n"
147+
"PYTHONBREAKPOINT: if this variable is set to 0, it disables the default\n"
148+
" debugger. It can be set to the callable of your debugger of choice.\n"
147149
"PYTHONDEVMODE: enable the development mode.\n"
148150
"PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files.\n";
149151

0 commit comments

Comments
 (0)