Settings

All luadebug.* options

Search luadebug in Settings. Prefer workspace settings per project.

How to open

  1. Open Settings.
  2. Search luadebug or a specific key.
  3. Use user or workspace .vscode/settings.json.

Reference table

KeyDescriptionDefault
luadebug.macroListMacro variable declarations for luadebug templates.[]
luadebug.luaTemplatesDirDirectory for luadebug code templates.(empty)
luadebug.inputTemplateModuleNameWhen true, creating a template prompts for moduleName separately from the file name; false keeps them the same.false
luadebug.luaOperatorCheckValidate Lua operators; set false if you overload operators.true
luadebug.luaFunArgCheckWhen true, duplicate parameter names in one function are reported; false ignores them.true
luadebug.changeTextCheckCheck Lua syntax while editing; set false on slower machines.true
luadebug.moduleFunNestingCheckTreat a module function call inside another module function as an error.false
luadebug.scriptRoots${workspaceRoot}/… Lua script roots (multiple allowed) used for require path hints.[]
luadebug.maxFileSizeMax Lua file size in KB (default 2048 ≈ 2MB); larger files are not parsed.2048
luadebug.showOnLineShow the current LuaDebug online user count.true
luadebug.specialCharacterASCII code points allowed in variable names (e.g. @ = 64); int array, usually leave empty.[]
luadebug.luaOutLineShow the document outline; disable if not needed.true
luadebug.moduleNamesModule return names ignored in global search (default M_, _M, M); require is unaffected.["M_", "_M", "M"]
luadebug.defineModuleFunction names that define a module/class for tag hints (default: class, this for Cocos / Unity).["class", "this"]
luadebug.automaticDownloadingDebugFileDeprecated: no longer prompts to copy/replace debug files on startup; runtimes ship with the extension.false
luadebug.apiTypeCocos / Unity API pack for completions (default none); set per workspace for multi-project setups."none"
luadebug.ignoreDirFolders to skip — relative paths with ${workspaceRoot} or absolute paths.[]
luadebug.ignoreFilesFiles to skip — relative paths with ${workspaceRoot} or absolute paths.[]
luadebug.tagIsShowFileNameWhen using local M_ = {} return M_, show fileName/M_ in tags instead of M_ only.false
luadebug.requireFunNamesFunction names treated as require for hints; only top-level function require() form is supported.["require", "import"]
luadebug.isGolbalColorHighlight global symbols; set false to disable.true
luadebug.golbalFunColorColor for global functions."#FFA500"
luadebug.golbalFieldColorColor for global fields."#FFA500"
luadebug.openUriConfigQuick-open URL rules (use {selection} for selected text).[{"name": "百度搜索", "url": "https://www.baidu.com/s?wd={selection}"}, {"name": "百度翻译", "url": "http://fanyi.baidu.com/#zh/en/{selection}"}]
luadebug.protobufRootFolder of .proto files to parse for Lua completion hints; use with tags. Prefer / in paths; escape \ as \\.(empty)
luadebug.postfixCompletionEnable postfix completion (default on).true
luadebug.modulePathMarkSeparator in require paths: . or / (default .)."."
luadebug.snippetSuggestionsMaps to editor.snippetSuggestions; enforced when the extension starts."bottom"
luadebug.quickFilePathSuggest file paths after typing a quote.true
luadebug.variableNameMatchingAssociate variables with global tables, file names, or class names (case-insensitive).true
luadebug.ctorNamesConstructor method names; self.xxx assignments in ctor drive navigation priority (earlier names win).["ctor"]
luadebug.serverUrlAccount service URL (HTTPS required)."https://luadebug.walterspace.com"
luadebug.localeLuaDebug UI language (zh / en). Independent of Cursor display language."zh"

Quick groups

Account & UI

Indexing & hints

API & tags

Templates

Syntax check & colors