diff options
-rw-r--r-- | .vscode/launch.json | 8 | ||||
-rw-r--r-- | build/extension/.gitignore | 3 | ||||
-rw-r--r-- | main.lua | 1 |
3 files changed, 10 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index d3ea8e8e..f218c889 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -29,7 +29,13 @@ "sourceCoding": "utf8", "consoleCoding": "utf8", "ip": "localhost", - "port": 546858 + "port": 546858, + "sourceMaps": [ + [ + "C:\\Users\\sunyi\\.vscode\\extensions\\sumneko.lua-lsp\\server", + "${workspaceFolder}" + ] + ] }, ] } diff --git a/build/extension/.gitignore b/build/extension/.gitignore index bf962da1..d38ba5dd 100644 --- a/build/extension/.gitignore +++ b/build/extension/.gitignore @@ -1,4 +1,5 @@ out node_modules client/server -.vscode-test
\ No newline at end of file +.vscode-test +/server/log @@ -9,6 +9,7 @@ log.info('Lua 语言服务启动,路径为:', ROOT) local dbg = require 'debugger' dbg:io 'listen:0.0.0.0:546858' +dbg:start() require 'utility' require 'global_protect' |