From 7932a7bca87049e0f9f0020a134969b5224b264b Mon Sep 17 00:00:00 2001 From: changfeng Date: Sun, 4 Sep 2022 19:08:48 +0800 Subject: [PATCH] fix: debug lsp server config --- .vscode/launch.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 296bfa52..369c46d8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -20,11 +20,10 @@ "type": "node", "request": "attach", "name": "Attach to Server", - "address": "localhost", - "protocol": "inspector", "port": 6004, - "sourceMaps": false, - "outFiles": ["${workspaceRoot}/server.js"] + "restart": true, + "sourceMaps": true, + "outFiles": ["${workspaceRoot}/dist/start-server.js"] }, { "name": "Launch Tests",