summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-03 14:52:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-03 14:52:41 +0800
commit11bb015d741e0db3330477878e02dffce61c2f97 (patch)
tree509077bb99b0b105c819273c441a54bc8590cfa2
parentd5634992993466a2fe309321ed6919ec5eeeb99c (diff)
downloadlua-language-server-11bb015d741e0db3330477878e02dffce61c2f97.zip
enable debugger (temporary scheme)
-rw-r--r--debugger.lua2
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