8 Jan
2019
8 Jan
'19
1:39 a.m.
On 8/01/19 2:29 PM, Stanislav Sokolenko wrote:
That's perfect, thank you! I did see the cache variable in buff-ini.lua but didn't realize it was being used as an upvalue in a closure. Is there a specific reason for using the --debug flag rather than just loading the debug module directly in the code? The following seems to work without the --debug flag but I want to make sure I'm not causing some sort of side effect.
Interesting... Actually it should not work, because this way you can escape the sandboxing. I guess Hans will fix that in the future, so you shouldn't rely on that. @Hans: To disable debug completely you should add `package.loaded["debug"] = nil` somewhere.