Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>TLRDBNew to Visual Studio Code? Get it now.
TLRDB

TLRDB

johnnylocust

|
544 installs
| (0) | Free
Lua Remote DeBugger
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lua Remote DeBugger for Visual Studio Code

Fork changes

This fork is modified to use absolute paths from LRDB debugger instead of relative. It also defines new launch.json property - sourceFileMap for translating remote paths to local and vice-versa.

This fork works only with similarly modified LRDB - kapecp/LRDB.

Introduction

This extension is debug Lua programs with Visual Studio Code.

Lua Debug

Features

  • 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

Extension Settings

launch.json example:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lrdb",
            "request": "launch",
            "name": "Lua Launch",
            "program": "${file}",
            "cwd": "${workspaceFolder}",
            "stopOnEntry": true
        },
        {
            "type": "lrdb",
            "request": "attach",
            "host": "192.168.1.28",
            "port": 21110,
            "name": "attach to remote debugger",
            "sourceRoot": "${workspaceFolder}",
            "sourceFileMap": {
                "${workspaceFolder}": "/mnt/luadb_b/"
            }
        }
    ]
}

Release Notes

CHANGELOG

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft