`gc.set_debug()`: Detailed Logging of Collection Events
Enabling `gc.set_debug()` with flags like `gc.DEBUG_STATS` or `gc.DEBUG_COLLECTABLE` prints verbose information to `sys.stderr` about objects found, collected, and unreachable during GC cycles, critical for diagnosing and tuning `set_threshold`.