Intermittent “System Events” Permission Issue in Script Debugger on Sequoia 15.7.4

Hello everyone,

I’m currently using Sequoia 15.7.4 and running into an issue with “System Events” in Script Debugger.

According to the error message, Script Debugger — along with any scripts executed through it — sometimes doesn’t have permission to access “System Events.” The strange part is that this issue is inconsistent: sometimes everything works fine, other times it suddenly fails.

Has anyone else experienced something similar?

I’ve already tried resetting permissions in macOS System Settings, restarting the machine, and running OnyX for cleanup, but none of these steps have resolved the issue. The behavior still appears random.

Could this be related to some newer macOS security feature that gets triggered intermittently?