You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it looks like the debugger detection needs to be updated to check for sys.monitoring being enabled.
Debugpy and Pydevd use sys.monitoring for 3.12 and beyond, so the debugger detection fails.
I think the debugger detection could just use sys.monitoring.get_tool(sys.monitoring.DEBUGGER_ID) to detect if a debugger is running. Maybe skipping the logic to see if it's a known debugger or not because that tool id is supposed to be used for just debuggers.