david-message / lua-debug

Lua Debug Adapter for Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Lua 50.3%Language:C++ 44.8%Language:JavaScript 3.2%Language:C 1.2%Language:Objective-C++ 0.4%