- Install
Tencent
's Lua VSCode extension. - Install the mod to your DCS Save Game folder - simply paste the contents in to
\Saved Games\DCS.openbeta\
- Open your project in VSCode.
- Create a
LuaHelper-Attach
debug configuration and set the following values as follow:"type": "LuaHelper-Debug", "request": "launch", "name": "LuaHelper-Attach", "description": "", "cwd": "${workspaceFolder}", "luaFileExtension": "lua", "connectionPort": 8818, "stopOnEntry": false, "useCHook": false, "autoPathMode": true
- Start the lua debugger in VSCode
- Start a mission in DCS, the debugger should connect.
You may need to run DCS as admin the first time you install the mod, as it adds a line to MissionScripting.lua
& may need the permission to.
License for new files created is MIT.
License for modified files (Ex: LuaPanda.lua) is the same as that of the original, mentioned as a comment at the beginning of such files.
Copyrights to the respective owners.