gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965)
Log also the Py_REMOTE_DEBUG macro.
diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py
index 195551e..682815c 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -146,6 +146,8 @@ def collect_sys(info_add):
text = 'No (sys.getobjects() missing)'
info_add('build.Py_TRACE_REFS', text)
+ info_add('sys.is_remote_debug_enabled', sys.is_remote_debug_enabled())
+
def collect_platform(info_add):
import platform
@@ -528,6 +530,7 @@ def collect_sysconfig(info_add):
'Py_DEBUG',
'Py_ENABLE_SHARED',
'Py_GIL_DISABLED',
+ 'Py_REMOTE_DEBUG',
'SHELL',
'SOABI',
'TEST_MODULES',