You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now possible to debug pllua untrusted with Zero Brain Studio. At first
mobdebug needs to be installed (luarocks install mobdebug)
To enable extended debug info we need run this code:
do $$
remote_debug_info(true)
$$ language plluau
Then start debugging server in Zero Brain Studio
and then possible to debug line by line code like this:
do $$
local mobdebug = require('mobdebug')
mobdebug.start() -- same as start("localhost", 8172)
print("Start")
local foo = 0
for i = 1, 3 do
local function bar()
print("In bar")
end
foo = i
print("Loop")
bar()
end
print("End")
$$ language plluau
Note: ZBS had a bug in linux when many tabs opened for debugging if ZBS
was in background, but in ZBS github master branch already fixed.
0 commit comments