Skip to content
Snippets Groups Projects
Commit 403256cc authored by 最萌小汐's avatar 最萌小汐
Browse files

更新调试器代码

parent f4e6b2b3
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ local function tryDebugger()
local entry = assert(package.searchpath('debugger', debugPath:string() .. path))
local root = debugPath:string()
local addr = ("127.0.0.1:%d"):format(DBGPORT)
local dbg = loadfile(entry)('windows', root)
local dbg = loadfile(entry)(root)
dbg:start(addr)
log.debug('Debugger startup, listen port:', DBGPORT)
log.debug('Debugger args:', addr, root, path, cpath)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment