summaryrefslogtreecommitdiff
path: root/xmake/core/base/debugger.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/debugger.lua')
-rw-r--r--xmake/core/base/debugger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/debugger.lua b/xmake/core/base/debugger.lua
index 535c70831..65267d21d 100644
--- a/xmake/core/base/debugger.lua
+++ b/xmake/core/base/debugger.lua
@@ -28,7 +28,7 @@ local path = require("base/path")
-- start emmylua debugger
function debugger:_start_emmylua_debugger()
local debugger_libfile = os.getenv("EMMYLUA_DEBUGGER")
- local script, errors = package.loadlib(debugger_libfile)
+ local script, errors = package.loadlib(debugger_libfile, "luaopen_emmy_core")
if not script then
return false, errors
end