DebugHelper (Daigoro)

I released a “DebugHelper” package.
If your script has a Debug property, you can use self:Debug(function() print(“test”) end) and it will execute the function only if and are enabled.

If you want to use this in an Init() function, you need to put it into a self:Schedule() because it needs one frame to be initialized first.