debug off by default

This commit is contained in:
yuki 2025-11-11 22:29:19 -03:00
parent 95bca26afe
commit 492da41dac

View file

@ -1,6 +1,6 @@
-- debug --
if os.getenv("LOCAL_LUA_DEBUGGER_VSCODE") == "1" then
DEBUG = true
DEBUG = false -- enable with f10
local lldebugger = require('lldebugger')
lldebugger.start()
---@diagnostic disable-next-line: undefined-field
@ -9,7 +9,7 @@ if os.getenv("LOCAL_LUA_DEBUGGER_VSCODE") == "1" then
local f = lldebugger.call(run, false, ...)
return function(...) return lldebugger.call(f, false, ...) end
end
else DEBUG = false end
end
print('debug:', DEBUG)
-- libraries --