/mobdebug

a debug plugin for Lua

Primary LanguageCMIT LicenseMIT

mobdebug

a debug plugin for Lua, fork from AliWax, and upgrade to support Lua 5.2x ~ 5.3x

How to use

  1. download ZeroBrane Studio

  2. open lua scripts directory with ZeroBrane

    open lua

  3. start debugger server

    ZeroBrand - >Project -> Start Debugger Server

    start_debugger_server=

    ZeroBrane will start debugger server on port 8172

  4. 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')")