From 5846221a39e3d33bdd848106ff8d9520eaa7455d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 30 Dec 2019 02:22:52 +0100 Subject: Minimize TypeScript build --- .vscode/launch.json | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index 442ebf6dd..55a2f10f2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,18 +10,28 @@ "request": "launch", "runtimeExecutable": "${execPath}", "args": [ - "--disable-extensions", - "--user-data-dir", - "${workspaceFolder}/target/vscode", "--extensionDevelopmentPath=${workspaceFolder}/editors/code" ], - "env": { - "__RA_LSP_SERVER_DEBUG": "${workspaceFolder}/target/debug/ra_lsp_server" - }, "outFiles": [ - "${workspaceFolder}/editors/code/bundle/**/*.js" + "${workspaceFolder}/editors/code/out/**/*.js" + ], + "preLaunchTask": "Build Extension" + }, + { + "name": "Run Extension (Dev Server)", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}/editors/code" + ], + "outFiles": [ + "${workspaceFolder}/editors/code/out/**/*.js" ], - "preLaunchTask": "Build All" + "preLaunchTask": "Build Extension", + "env": { + "__RA_LSP_SERVER_DEBUG": "${workspaceFolder}/target/debug/ra_lsp_server" + } }, { "name": "Debug Lsp Server", -- cgit v1.2.3