Board Thread:Lua Help/@comment-4405550-20160124224015

Here is a quick and dirty script I threw together to do some remote debugging.

Sometimes it's a little tedious developing a Lua script in something like Notepad++, and having to copy/paste the code into the module page every time I need to debug/test a function or see what my HTML output currently looks like.

It could also be used for remote unit testing if you need more powerful tools (like a better pattern engine). And if you really wanted to get serious about it, you should define your test assertions as a JSON string in a block comment. This way anyone can execute your unit tests if he/she wanted to modify your code.

Anyway, it's just a bit of convenience I wanted to share with the rest of y'all. It requires The latest version of node, and the npm package "extend". The rest is pretty self explanatory.

 Code  