Currently, the debugger is not usable when running Lua scripts that are embedded in a program(such as "redis" or "pandoc"), because EmmyLua is injecting the MobDebug and expect to run the script from Lua and injecting it using the -e flag. Resulting in error:
Unknown option -e.
Currently, the debugger is not usable when running Lua scripts that are embedded in a program(such as "redis" or "pandoc"), because EmmyLua is injecting the MobDebug and expect to run the script from Lua and injecting it using the
-e
flag. Resulting in error:Unknown option -e.
https://github.com/EmmyLua/IntelliJ-EmmyLua/blob/66b994d206eea78ebcee47519cb2536a4fc24896/src/main/java/com/tang/intellij/lua/debugger/app/LuaAppMobProcess.kt#L53