summaryrefslogtreecommitdiff
path: root/server/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/main.lua')
-rw-r--r--server/main.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/server/main.lua b/server/main.lua
index 597c40bb..c9b51239 100644
--- a/server/main.lua
+++ b/server/main.lua
@@ -21,15 +21,7 @@ log.init(ROOT, ROOT / 'log' / 'service.log')
log.info('Lua Lsp startup, root: ', ROOT)
ac = {}
-local function tryDebugger()
- local dbg = require 'debugger'
- dbg:io 'listen:127.0.0.1:11411'
- dbg:start()
- log.info('Debugger startup, listen port: 11411')
-end
-
---pcall(tryDebugger)
-
+--xpcall(dofile, log.debug, rootPath .. 'debugger.lua')
require 'utility'
require 'global_protect'
local service = require 'service'