summaryrefslogtreecommitdiff
path: root/server/debugger.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-09-16 21:33:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-09-16 21:33:03 +0800
commit8634a138bd2db51167fee0c96744ad23399a3ad3 (patch)
tree56499ec23e9d45d078c1be1c3b0b82771b7d442a /server/debugger.lua
parentb13de09a6f1bec8d36aba4dc231a434dc1c50340 (diff)
downloadlua-language-server-8634a138bd2db51167fee0c96744ad23399a3ad3.zip
加载插件
Diffstat (limited to 'server/debugger.lua')
-rw-r--r--server/debugger.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/debugger.lua b/server/debugger.lua
index 5315953a..79b2931d 100644
--- a/server/debugger.lua
+++ b/server/debugger.lua
@@ -44,6 +44,7 @@ local function tryDebugger()
local addr = "127.0.0.1:" .. port
local dbg = loadfile(entry)('windows', root)
dbg:start(addr)
+ dbg:wait()
log.debug('Debugger startup, listen port:', port)
log.debug('Debugger args:', addr, root, path, cpath)
end