dibyendumajumdar / ravi-vscode-debugger

VSCode Debug Adapter for Ravi / Lua 5.3
13 stars 1 forks source link

Lua and Ravi 5.3 Debug Adapter for VSCode

This project aims to provide a debug adapter that allows Microsoft's Visual Studio Code to step through Ravi or Lua 5.3 code.

Debugger in Action

Status

This is work in progress. The basic debugger is working with following features and limitations.

Note: This is work in progress so please expect bugs!

Installation

You can install the Ravi Debug extension from VSCode Marketplace - search for 'Lua and Ravi 5.3 Debugger'. Pre-built X86 64-bit binaries for Windows 10, OS X Mojave, and Ubuntu 14.04 are included in the installation - note that these do not have JIT enabled.

Issues and Limitations

Recent changes

Getting Started

Once you have installed the extension, you will need to setup launch.json as shown in the steps below.

First Launch

Select Ravi Debugger

Configure launch.json

See also

Ravi Programming Language

Implementation Notes

The debugger is a standalone executable that can be invoked by VSCode. VSCode communicates with the debugger via stdin/stdout as per the VSCode debug adapter API which uses JSON messages exchanged between VSCode and the debugger.