Omelette Posted February 3, 2024 Posted February 3, 2024 Hello everyone, I would like to share something I have been working on recently: DCS Lua Runner, A VS Code extension that sends code to local or remote DCS for execution, and display the return value, as demonstrated by the images below. This project is based on the awesome web tool DCS Fiddle by JonathanTurnock and john681611, which connects to your local DCS running scripting environments. I find myself using the code execution functionality a lot, but too lazy to copy code back and forth. So I created this extension to do the same thing from within VS Code, with a bit more added flavors. Key Features: Send whole lua file or just selected portion of code. Execute on local DCS instance or remote DCS server (more details below). Execute in mission or GUI scripting environment. Display return value in output panel or as a file (for syntax highlight), in JSON or Lua table format. If you are already using DCS Fiddle, this extension can use the same hook script. But I do provide a slightly modified version of the script that allows you to set username and password for a bit more security if you want to do remote debugging on your public server. All credits on the hook script and its API go to the original authors of course. Additionally, in the case of public server, I also recommend putting the fiddle port behind a HTTPS reverse proxy. Please see here for installation and settings details
Recommended Posts