a debug plugin for Lua, fork from AliWax, and upgrade to support Lua 5.2x ~ 5.3x
-
download ZeroBrane Studio
-
open lua scripts directory with ZeroBrane
-
start debugger server
ZeroBrand - >Project -> Start Debugger Server
ZeroBrane will start debugger server on port 8172
-
add mobdebug to your Project
self.luaState = luaL_newstate(); // ..... extern void luaopen_mobdebug_scripts(void* L); luaopen_mobdebug_scripts(self.luaState); luaL_dostring(self.luaState, "require('mobdebug').start('Your Debugger Server IP Address')")