aboutsummaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authorDmitry <[email protected]>2020-02-16 17:28:14 +0000
committerDmitry <[email protected]>2020-02-16 17:28:14 +0000
commitb446384956243ce6bdcef2a869123a2605e597ed (patch)
tree7f94fbac5a818e0b9ab996db7a840929c5e1d9a5 /.vscode/launch.json
parenta19f52f9ae1634fa2267c3bc7647a0d47b6014ac (diff)
Added short description and disable-extensions
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json17
1 files changed, 16 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 55a2f10f2..386599f78 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -2,14 +2,21 @@
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 // and prevent potential problem and collision with developer's extansion
9
5 "version": "0.2.0", 10 "version": "0.2.0",
6 "configurations": [ 11 "configurations": [
7 { 12 {
13 // Used for testing extansion that located in extensionDevelopmentPath
8 "name": "Run Extension", 14 "name": "Run Extension",
9 "type": "extensionHost", 15 "type": "extensionHost",
10 "request": "launch", 16 "request": "launch",
11 "runtimeExecutable": "${execPath}", 17 "runtimeExecutable": "${execPath}",
12 "args": [ 18 "args": [
19 "--disable-extensions",
13 "--extensionDevelopmentPath=${workspaceFolder}/editors/code" 20 "--extensionDevelopmentPath=${workspaceFolder}/editors/code"
14 ], 21 ],
15 "outFiles": [ 22 "outFiles": [
@@ -18,11 +25,13 @@
18 "preLaunchTask": "Build Extension" 25 "preLaunchTask": "Build Extension"
19 }, 26 },
20 { 27 {
28 // Used for testing extansion with local lsp server located in __RA_LSP_SERVER_DEBUG
21 "name": "Run Extension (Dev Server)", 29 "name": "Run Extension (Dev Server)",
22 "type": "extensionHost", 30 "type": "extensionHost",
23 "request": "launch", 31 "request": "launch",
24 "runtimeExecutable": "${execPath}", 32 "runtimeExecutable": "${execPath}",
25 "args": [ 33 "args": [
34 "--disable-extensions",
26 "--extensionDevelopmentPath=${workspaceFolder}/editors/code" 35 "--extensionDevelopmentPath=${workspaceFolder}/editors/code"
27 ], 36 ],
28 "outFiles": [ 37 "outFiles": [
@@ -34,7 +43,13 @@
34 } 43 }
35 }, 44 },
36 { 45 {
37 "name": "Debug Lsp Server", 46 // Attaching LLDB by Pid to lsp server
47 // NOTE: it requires root permission, also for better debugging
48 // if you want more than just assembler representation for ex:
49 // walk in file, you need debugging symbols.
50 // Project can build with it, for set - chane inside
51 // ./Cargo.toml field debug
52 "name": "Attach To Server",
38 "type": "lldb", 53 "type": "lldb",
39 "request": "attach", 54 "request": "attach",
40 "program": "${workspaceFolder}/target/debug/ra_lsp_server", 55 "program": "${workspaceFolder}/target/debug/ra_lsp_server",