Skip to content
Snippets Groups Projects
Commit 8835d760 authored by sumneko's avatar sumneko
Browse files

更新调试器

parent 3f139d12
Branches
No related tags found
No related merge requests found
......@@ -29,8 +29,7 @@
"stopOnEntry": true,
"sourceCoding": "utf8",
"consoleCoding": "utf8",
"ip": "127.0.0.1",
"port": 11411
"address": "127.0.0.1:11411"
},
{
"name": "编译",
......
......@@ -46,7 +46,7 @@ local function tryDebugger()
local addr = "127.0.0.1:" .. port
local dbg = loadfile(entry)(rdebug, root, path, cpath)
debug.getregistry()["lua-debug"] = dbg
dbg:start(addr, true)
dbg:start(addr)
log.debug('Debugger startup, listen port:', port)
log.debug('Debugger args:', addr, root, path, cpath)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment