This extension is debug Lua programs with Visual Studio Code.
- Supports Windows,macOS,Linux
- Add/remove break points
- Conditional break points
- Continue,Pause,Step over, Step in, Step out
- Local,Global,_ENV,Upvalue variables and arguments
- Watch window
- Evaluate Expressions
- Debug with embedded Lua interpreter(Lua 5.3.3 on Javascript by Emscripten)
- Debug with Your host program(require embed debug server)
- Remote debugging over TCP
launch.json example:
{
"version": "0.2.0",
"configurations": [
{
"type": "lrdb",
"request": "launch",
"name": "Lua Launch",
"program": "${file}",
"cwd": "${workspaceFolder}",
"stopOnEntry": true
}
]
}