- Install the extension in VS Code.
- Switch to the debug viewlet and press the gear dropdown.
- Select the debug environment "ReturnOfModding Lua Debugger".
- Press the green 'play' button to start debugging.
You can now 'step through' your lua file, set and hit breakpoints and so on.
- Clone the project https://github.com/xiaoxiao921/ReturnOfModdingBase.git
- Open the project folder in VS Code.
- Press
F5to build, it should launch another VS Code window that has the extension enabled. - In the explorer view of the new window open some lua file.
- Set some breakpoints.
- From the editor's "Run and Debug" toolbar dropdown menu select "Debug File".