A Boolean indicating whether the interpreter was built in debug mode. This reflects either the presence of the --with-pydebug configure option (on Unix) or the Debug configuration (on Windows).
sys/abi_info.debug
abi_info.debug