• Stars
    star
    384
  • Rank 111,726 (Top 3 %)
  • Language
    Lua
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lua Debug Adapter for Visual Studio Code

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.