Skip to content

Commit 333d047

Browse files
committed
support Lua Debug 2.0.0
1 parent 9f54935 commit 333d047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debugger.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ local function tryDebugger()
5151
local entry = assert(package.searchpath('debugger', debugPath .. path))
5252
local root = debugPath
5353
local addr = ("127.0.0.1:%d"):format(DBGPORT)
54-
local dbg = loadfile(entry)(root)
54+
local dbg = loadfile(entry)(entry)
5555
dbg:start {
5656
address = addr,
5757
}

0 commit comments

Comments
 (0)