From 600d1f82ebb79d5ddf74063760aa94eb264ccc37 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 7 Jul 2025 12:56:29 +0200 Subject: [PATCH] gh-131591: Document Py_REMOTE_DEBUG (GH-135929) (cherry picked from commit 9aac5a3d44d7191001660aed3a383b062ee4b29b) Co-authored-by: Petr Viktorin --- Doc/using/configure.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index a26d48d7d0a345..e5fe3c72b1b26e 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -686,6 +686,13 @@ also be used to improve performance. not compiled. This includes both the functionality to schedule code to be executed and the functionality to receive code to be executed. + .. c:macro:: Py_REMOTE_DEBUG + + This macro is defined by default, unless Python is configured with + :option:`--without-remote-debug`. + + Note that even if the macro is defined, remote debugging may not be + available (for example, on an incompatible platform). .. versionadded:: 3.14