Skip to content

Commit 5d7a544

Browse files
committed
Suggest setting PYTHON_DISABLE_REMOTE_DEBUG to 1
1 parent 52a4439 commit 5d7a544

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Doc/howto/remote_debugging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Disabling remote debugging
1313

1414
To disable remote debugging support, use any of the following:
1515

16-
* Set the :envvar:`PYTHON_DISABLE_REMOTE_DEBUG` environment variable to
17-
any value before starting the interpreter.
16+
* Set the :envvar:`PYTHON_DISABLE_REMOTE_DEBUG` environment variable to ``1`` before
17+
starting the interpreter.
1818
* Use the :option:`-X disable_remote_debug` command-line option.
1919
* Compile Python with the :option:`--without-remote-debug` build flag.
2020

Doc/library/sys.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2001,8 +2001,8 @@ always available. Unless explicitly noted otherwise, all variables are read-only
20012001

20022002
To disable remote debugging support, use any of the following:
20032003

2004-
* Set the :envvar:`PYTHON_DISABLE_REMOTE_DEBUG` environment variable to
2005-
any value before starting the interpreter.
2004+
* Set the :envvar:`PYTHON_DISABLE_REMOTE_DEBUG` environment variable to ``1``
2005+
before starting the interpreter.
20062006
* Use the :option:`-X disable_remote_debug` command-line option.
20072007
* Compile Python with the :option:`--without-remote-debug` build flag.
20082008

0 commit comments

Comments
 (0)