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 settings or workspace .vscode/settings.json.

Reference table

KeyDescriptionDefault
luadebug.macroListDeclare template macro variables[]
luadebug.luaTemplatesDirTemplate folder path(empty)
luadebug.inputTemplateModuleNameWhen creating from a template: false = file name equals moduleName; true = also prompt for moduleNamefalse
luadebug.luaOperatorCheckCheck operator usage; set false if you overload operatorstrue
luadebug.luaFunArgCheckIf true, duplicate parameter names in one function are errors; if false, ignoretrue
luadebug.changeTextCheckCheck Lua syntax on edit; set false on low-end machinestrue
luadebug.moduleFunNestingCheckTreat nested module functions as errorsfalse
luadebug.scriptRootsLua script root(s) for require path hints (multiple allowed)[]
luadebug.maxFileSizeMax Lua file size to parse (KB); larger files are skipped (default ~2MB)2048
luadebug.showOnLineShow LuaDebug online user counttrue
luadebug.specialCharacterASCII codes of extra chars allowed in identifiers (e.g. @ = 64); usually leave empty[]
luadebug.luaOutLineShow outline; turn off if not neededtrue
luadebug.moduleNamesNames like local M_ = {} return M_ that global search should ignore (require unaffected). Default: M_, _M, M["M_", "_M", "M"]
luadebug.defineModuleFunctions that define a module/class for tag hints (default cocos class and Unity-style this)["class", "this"]
luadebug.automaticDownloadingDebugFileDeprecated: no longer prompts to copy/replace debug files. Files ship with the extension.false
luadebug.apiTypeCocos / Unity API pack type; default none — set per project; use workspace settings for multi-project"none"
luadebug.ignoreDirRelative, ${workspaceRoot}, or absolute dirs to skip when analyzing[]
luadebug.ignoreFilesRelative, ${workspaceRoot}, or absolute files to skip[]
luadebug.tagIsShowFileNameWith M_-style modules, tags often all show M_; true shows fileName/M_false
luadebug.requireFunNamesFunction names treated as require for path hints. Only bare function require() end, not function xxx.require() end["require", "import"]
luadebug.isGolbalColorEnable global variable highlighting; set false to disabletrue
luadebug.golbalFunColorGlobal function color"#FFA500"
luadebug.golbalFieldColorGlobal field color"#FFA500"
luadebug.openUriConfigQuick-open URL configs for selected text[{"name": "Google", "url": "https://www.google.com/search?q={selection}"}, {"name": "Google Translate", "url": "https://translate.google.com/?sl=auto&tl=en&text={selection}"}]
luadebug.protobufRootFolder of .proto files to parse for Lua hints (use '/' in paths; for '\' write '\\')(empty)
luadebug.postfixCompletionEnable postfix completiontrue
luadebug.modulePathMarkrequire separator: . or / (default .)"."
luadebug.snippetSuggestionsMaps to editor.snippetSuggestions (default bottom). Forced on extension start from this setting."bottom"
luadebug.quickFilePathAfter typing quotes, suggest file pathstrue
luadebug.variableNameMatchingIf a variable name matches a global table / file / class name (case-insensitive), link them by defaulttrue
luadebug.ctorNamesCtor method names in a module; assignments like self.age = 1 there get jump priority (earlier array entries win)["ctor"]
luadebug.serverUrlAccount service URL (must be HTTPS)"https://luadebug.walterspace.com"
luadebug.localeLuaDebug UI language (zh / en). Independent of Cursor display language."zh"

Quick groups

Account & UI

Indexing & completion

API & tags

Templates

Lint & coloring