I'm trying to fix something that doesn't give any errors in output. Everything works fine in solo, but when I test with servers, idk how to use breakpoints. How do i use the debugger??
COMMUNITY QUESTION
How do i use breakpoints when testing servers in studio?
1 answer
An easy way to find a breakpoint in your script is using print()s. E.G
local num = 5
print("ok")
if num == 5 then
print("ok2")
num = 3
if num == 4 then
print("ok3")
end
end
In this case, it will print up to "ok2", but not "ok3".
This discussion is preserved as it was. New answers, comments, and votes are closed.
