aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-16 17:55:04 +0000
committerGitHub <[email protected]>2020-02-16 17:55:04 +0000
commit3a1c7808a423b72a2603a420518dc5daf5c7a798 (patch)
treebd94b8eb4d85eb08f056d7c6fe73117b3697ffa7 /.vscode
parenta90f5b07875e73554b665d74ec661325df1755a7 (diff)
parent5b781de56c94db1f7035b2950eea1c387e6e53fa (diff)
Merge #3174
3174: Added description and disable-extensions r=matklad a=Fihtangolz Co-authored-by: Dmitry <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json18
1 files changed, 17 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 55a2f10f2..33fc3bdea 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -2,14 +2,22 @@
2 // Use IntelliSense to learn about possible attributes. 2 // Use IntelliSense to learn about possible attributes.
3 // Hover to view descriptions of existing attributes. 3 // Hover to view descriptions of existing attributes.
4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
6 // NOTE: --disable-extensions
7 // Disable all installed extensions for increas performance of playground
8 // Disable all installed extensions to increase performance of the debug instance
9 // and prevent potential conflicts with other installed extensions.
10
5 "version": "0.2.0", 11 "version": "0.2.0",
6 "configurations": [ 12 "configurations": [
7 { 13 {
14 // Used for testing the extension with the installed LSP server.
8 "name": "Run Extension", 15 "name": "Run Extension",
9 "type": "extensionHost", 16 "type": "extensionHost",
10 "request": "launch", 17 "request": "launch",
11 "runtimeExecutable": "${execPath}", 18 "runtimeExecutable": "${execPath}",
12 "args": [ 19 "args": [
20 "--disable-extensions",
13 "--extensionDevelopmentPath=${workspaceFolder}/editors/code" 21 "--extensionDevelopmentPath=${workspaceFolder}/editors/code"
14 ], 22 ],
15 "outFiles": [ 23 "outFiles": [
@@ -18,11 +26,13 @@
18 "preLaunchTask": "Build Extension" 26 "preLaunchTask": "Build Extension"
19 }, 27 },
20 { 28 {
29 // Used for testing theextension with a local build of the LSP server (in `target/debug`).
21 "name": "Run Extension (Dev Server)", 30 "name": "Run Extension (Dev Server)",
22 "type": "extensionHost", 31 "type": "extensionHost",
23 "request": "launch", 32 "request": "launch",
24 "runtimeExecutable": "${execPath}", 33 "runtimeExecutable": "${execPath}",
25 "args": [ 34 "args": [
35 "--disable-extensions",
26 "--extensionDevelopmentPath=${workspaceFolder}/editors/code" 36 "--extensionDevelopmentPath=${workspaceFolder}/editors/code"
27 ], 37 ],
28 "outFiles": [ 38 "outFiles": [
@@ -34,7 +44,13 @@
34 } 44 }
35 }, 45 },
36 { 46 {
37 "name": "Debug Lsp Server", 47 // Attaching LLDB by Pid to lsp server
48 // NOTE: it requires root permission, also for better debugging
49 // if you want more than just assembler representation for ex:
50 // walk in file, you need debugging symbols.
51 // Project can build with it, for set - chane inside
52 // ./Cargo.toml field debug
53 "name": "Attach To Server",
38 "type": "lldb", 54 "type": "lldb",
39 "request": "attach", 55 "request": "attach",
40 "program": "${workspaceFolder}/target/debug/ra_lsp_server", 56 "program": "${workspaceFolder}/target/debug/ra_lsp_server",