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