tomblind / local-lua-debugger-vscode

Local Lua Debugger for VSCode
MIT License
107 stars 26 forks source link

lua5.4 supported? #77

Open laoshaw opened 1 year ago

laoshaw commented 1 year ago

does this support lua5.4?

sewbacca commented 1 year ago

Yeah sure. You can select the lua interpreter version in the launch.json

{
    "name": "Launch File",
    "type": "lua-local",
    "request": "launch",
    "program": {
        "file": "${file}",
        "lua": "lua"
    },
}

lua should be in PATH. I use lua5.4 by default, you may need to adjust the attribute (e.g. "lua": "lua54").