summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vscode/launch.json4
-rw-r--r--server/main.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 5fddc284..9870ccda 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -29,8 +29,8 @@
"stopOnEntry": true,
"sourceCoding": "utf8",
"consoleCoding": "utf8",
- "ip": "localhost",
- "port": 546858
+ "ip": "127.0.0.1",
+ "port": 11411
},
{
"name": "编译",
diff --git a/server/main.lua b/server/main.lua
index 84106c26..6e8279ae 100644
--- a/server/main.lua
+++ b/server/main.lua
@@ -11,7 +11,7 @@ log.init(ROOT, ROOT / 'log' / 'test.log')
log.info('Lua Lsp startup, root: ', ROOT)
local dbg = require 'debugger'
-dbg:io 'listen:0.0.0.0:546858'
+dbg:io 'listen:127.0.0.1:11411'
dbg:start()
require 'utility'