VSCode 的Lua環境配置
VScode 需要安裝的插件信息
配置Lua調試環境
launch.json文件配置
launch.json配置文件
{
// 使用 IntelliSense 了解相關屬性。
// 懸停以查看現有屬性的描述。
// 欲了解更多信息,請訪問: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lua",
"request": "launch",
"name": "Lua debug",
"program": "${workspaceFolder}/debug.lua"
}
]
}
Lua代碼調試