Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/actboy168/lua-debug
Lua Debug Adapter for Visual Studio Code
https://github.com/actboy168/lua-debug
debug debugger lua
Last synced: 5 days ago
JSON representation
Lua Debug Adapter for Visual Studio Code
- Host: GitHub
- URL: https://github.com/actboy168/lua-debug
- Owner: actboy168
- License: mit
- Created: 2016-09-21T08:31:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T02:28:06.000Z (9 months ago)
- Last Synced: 2024-04-12T14:27:32.812Z (9 months ago)
- Topics: debug, debugger, lua
- Language: Lua
- Homepage:
- Size: 8.94 MB
- Stars: 420
- Watchers: 22
- Forks: 89
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lua-debug
[![Build Status](https://github.com/actboy168/lua-debug/workflows/build/badge.svg)](https://github.com/actboy168/lua-debug/actions?workflow=build)
## Requirements
* Lua 5.1 - 5.4 or luajit (thanks [@fesily](https://github.com/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](https://github.com/actboy168/luamake)
``` bash
git clone https://github.com/actboy168/luamake
pushd luamake
git submodule init
git submodule update
.\compile\install.bat(msvc)
./compile/install.sh (other)
popd
```2. Clone repo.
``` bash
git clone https://github.com/actboy168/lua-debug
cd lua-debug
git submodule init
git submodule update
```3. Download deps.
``` bash
luamake lua compile/download_deps.lua
```4. Build
```
luamake -mode release
```## Install to VSCode
1. Install extension `actboy168.lua-debug` and `actboy168.extension-path`
2. Open [repo](https://github.com/actboy168/lua-debug) in VSCode
3. Run task:Copy Publish## Todo
* iOS example.