summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-07-21 16:13:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-07-21 16:13:01 +0800
commit403256cc7e2683d018f925b58864032ce753584e (patch)
tree2f0fed75e8f8197647a81a0135d4322cb545bc2a
parentf4e6b2b3dc487d14a17683a38c0cfc9b8ab6f5b6 (diff)
downloadlua-language-server-403256cc7e2683d018f925b58864032ce753584e.zip
更新调试器代码
-rw-r--r--debugger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger.lua b/debugger.lua
index d5c12ff6..ac4af205 100644
--- a/debugger.lua
+++ b/debugger.lua
@@ -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)