Skip to content

Commit f0485de

Browse files
authored
gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965)
Log also the Py_REMOTE_DEBUG macro.
1 parent a5e628b commit f0485de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/pythoninfo.py

+3
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def collect_sys(info_add):
146146
text = 'No (sys.getobjects() missing)'
147147
info_add('build.Py_TRACE_REFS', text)
148148

149+
info_add('sys.is_remote_debug_enabled', sys.is_remote_debug_enabled())
150+
149151

150152
def collect_platform(info_add):
151153
import platform
@@ -528,6 +530,7 @@ def collect_sysconfig(info_add):
528530
'Py_DEBUG',
529531
'Py_ENABLE_SHARED',
530532
'Py_GIL_DISABLED',
533+
'Py_REMOTE_DEBUG',
531534
'SHELL',
532535
'SOABI',
533536
'TEST_MODULES',

0 commit comments

Comments
 (0)