Allows debugging embedded Lua VMs through Visual Studio Code.
- Supports Windows, macOS and Linux
- Add/remove breakpoints
- Conditional breakpoints
- Continue, pause, step over, step in, step out
- View and modify Local, global, _ENV, upvalue variables and arguments
- Watch window
- Evaluate expressions
- Remote debugging over TCP
- Multiple debug sessions possible at the same time
- New view in debug:
Lua Remote Debugger - VMs
. This is polling the ports from 21110 to 21120 on localhost to find any actively running session.
One of those lua Remote Debugger:
Start the debugger server in your embedded Lua, then attach VS Code to it.
How to use:
- in BeamNG
- in Garry's Mod
Please see the developer docs if you want to work on this
v0.5.4
- Fixed tables missing keys due to assuming that a Lua table was an "array" like table when it was really a "dictionary" table
- Integer, boolean, and table type keys are now able to be viewed in "dictionary" like tables (before it was only string keys)
v0.5.3
- Initial release!
Thank you very much to everyone working on this tech in open source team effort! :)
Based on the work from: