summaryrefslogtreecommitdiff
path: root/server/debugger.lua
diff options
context:
space:
mode:
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