Debug class for total beginners
This is the early primer shown before Lesson 01 on the scripts-from-zero path. Use it now for the error-reading habit, then revisit it later when exports, SQL, and framework errors become real in your own server. An error is a clue, not a verdict: Lua tried one specific thing, and one specific part was missing. You will build a tiny resource named qu_debug_class, break it on purpose, read the real error, and fix it with print(type(value), value).
Watch: debugging in action
Watch a real debugging pass first, reading the error, finding the line, and fixing one thing, then do the hands-on build below.