VSCode 的Lua环境配置【VSCode 配置】

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代码调试

参考1
参考2
参考3

posted @ 2022-02-01 23:32  Sunny_SunShine  阅读(989)  评论(0编辑  收藏  举报