lua code debugger

Aquí podrás hablar de cualquier tema que no tenga un sección específica.
Thank you usamakey
I need a code or plugin to debug the scripts in myself code editor
I no need online lua code editor
yeeeees!!!!!
i find it
thank you all guys
local script = Input.GetText("script");

local f, err = loadstring(script);

if err ~= nil then
local pos = String.Find(err, "...\"]:", 1, false);
local extra = String.Mid(err, 1, pos+5);
local err = String.Replace(err, extra, "line ", false);
Dialog.Message("Syntax Error", tostring(err), MB_OK, MB_ICONSTOP);
end
Imagen
theres also a pure lua project to do this:

https://github.com/mpeterv/luacheck

HIDE: ON
Hidebb Message Hidden Description


This also gives warnings about bad practices
Thanks pabloco
Might watch how this one turns out, any updates there?
great work
great work
lua code debugger ?