Skip to content

Commit 6b6a501

Browse files
committed
Add internal links to env vars and cmd options
1 parent 03701c3 commit 6b6a501

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

Doc/howto/remote_debugging.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ Most platforms require elevated privileges to attach to another Python process.
1111
.. note::
1212

1313
You can disable remote debugging support in a Python interpreter by (1) setting the
14-
``PYTHON_DISABLE_REMOTE_DEBUG`` environment variable to any value before starting
15-
the interpreter, (2) using the ``-X disable-remote-debug`` command-line option, or
16-
(3) compiling Python with the ``--without-remote-debug`` build flag.
14+
:envvar:`PYTHON_DISABLE_REMOTE_DEBUG` environment variable to any value before
15+
starting the interpreter, (2) using the :option:`-X disable_remote_debug`
16+
command-line option, or (3) compiling Python with the :option:`--without-remote-debug`
17+
build flag.
1718

1819
.. _permission-requirements:
1920

Doc/library/sys.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,10 +1999,11 @@ always available. Unless explicitly noted otherwise, all variables are read-only
19991999

20002000
.. note::
20012001

2002-
You can disable remote debugging support in a Python interpreter by (1) setting the
2003-
``PYTHON_DISABLE_REMOTE_DEBUG`` environment variable to any value before starting
2004-
the interpreter, (2) using the ``-X disable-remote-debug`` command-line option, or
2005-
(3) compiling Python with the ``--without-remote-debug`` build flag.
2002+
You can disable remote debugging support in a Python interpreter by (1) setting
2003+
the :envvar:`PYTHON_DISABLE_REMOTE_DEBUG` environment variable to any value before
2004+
starting the interpreter, (2) using the :option:`-X disable_remote_debug`
2005+
command-line option, or (3) compiling Python with the
2006+
:option:`--without-remote-debug` build flag.
20062007

20072008
.. audit-event:: sys.remote_exec pid script_path
20082009

0 commit comments

Comments
 (0)