Skip to content

Lua Debug Adapter for Visual Studio Code

License

Notifications You must be signed in to change notification settings

fesily/lua-debug

 
 

Repository files navigation

lua-debug

Build Status

Requirements

  • Lua 5.1 - 5.4 or luajit (thanks @fesily)
  • Platform: Windows, macOS, Linux, Android, NetBSD, FreeBSD

Feature

  • Breakpoints
  • Function breakpoints
  • Conditional breakpoints
  • Hit Conditional breakpoints
  • Step over, step in, step out
  • Watches
  • Evaluate expressions
  • Exception
  • Remote debugging
  • Support WSL

Build

  1. Install luamake
git clone https://github.com/actboy168/luamake
pushd luamake
git submodule init
git submodule update
.\compile\install.bat(msvc)
./compile/install.sh (other)
popd
  1. Clone repo.
git clone https://github.com/actboy168/lua-debug
cd lua-debug
git submodule init
git submodule update
  1. Download deps.
luamake lua compile/download_deps.lua
  1. Build
luamake -mode release

Install to VSCode

  1. Install extension actboy168.lua-debug and actboy168.extension-path
  2. Open repo in VSCode
  3. Run task:Copy Publish

Todo

  • thunk support arm64.
  • Use lua-epoll instead of select.
  • iOS example.

About

Lua Debug Adapter for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 49.3%
  • C++ 45.9%
  • JavaScript 3.2%
  • C 1.2%
  • Objective-C++ 0.4%