luadbg-dap

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

luadbg-dap is a Debug Adapter Protocol (DAP) server for the luapure Lua VM, served over TCP. An editor (e.g. VS Code with an attach configuration pointing at host:port) connects and drives breakpoints, stepping, stack and variable inspection, and expression evaluation.

luadbg-dap -listen :4711 -source-dir ./scripts
luadbg-dap -listen 127.0.0.1:4711 -sandbox

A program is launched by id (the DAP launch 'program' argument) and its source is loaded from -source-dir/<id>[.lua]; the editor fetches source text over DAP 'source' requests, so it needs no local copy. Embed the debugdap package with your own SourceResolver to load from a database instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL