diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-03 14:52:41 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-03 14:52:41 +0800 |
commit | 11bb015d741e0db3330477878e02dffce61c2f97 (patch) | |
tree | 509077bb99b0b105c819273c441a54bc8590cfa2 | |
parent | d5634992993466a2fe309321ed6919ec5eeeb99c (diff) | |
download | lua-language-server-11bb015d741e0db3330477878e02dffce61c2f97.zip |
enable debugger (temporary scheme)
-rw-r--r-- | debugger.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debugger.lua b/debugger.lua index 23ef77a5..6f3abfa6 100644 --- a/debugger.lua +++ b/debugger.lua @@ -48,6 +48,8 @@ local function tryDebugger() local addr = ("127.0.0.1:%d"):format(DBGPORT) local dbg = loadfile(entry)(root) dbg:start(addr) + -- TODO + dbg:event('enable_update', true) log.debug('Debugger startup, listen port:', DBGPORT) log.debug('Debugger args:', addr, root, path, cpath) if DBGWAIT then |