ZeroBrane IDE
Overview
All you need to create Lua-scripts for Pragma is a basic text-editor, however to get access to advanced debugging capabilities, it's recommended to use the ZeroBrane Studio Lua IDE. ZeroBrane is free and allows you to debug Lua code with features like step-by-step code execution and breakpoints, which you can see in action here:
Pragma also ships with an auto-complete script for ZeroBrane to maximize productivity:
You are of course free to use any other editor, in which case you can ignore the rest of this tutorial.
Setup