diff options
-rw-r--r-- | .vscode/launch.json | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 33fc3bdea..b37e298d5 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json | |||
@@ -4,8 +4,8 @@ | |||
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 | 5 | ||
6 | // NOTE: --disable-extensions | 6 | // NOTE: --disable-extensions |
7 | // Disable all installed extensions for increas performance of playground | 7 | // Disable all installed extensions for increas performance of playground |
8 | // Disable all installed extensions to increase performance of the debug instance | 8 | // Disable all installed extensions to increase performance of the debug instance |
9 | // and prevent potential conflicts with other installed extensions. | 9 | // and prevent potential conflicts with other installed extensions. |
10 | 10 | ||
11 | "version": "0.2.0", | 11 | "version": "0.2.0", |
@@ -23,7 +23,10 @@ | |||
23 | "outFiles": [ | 23 | "outFiles": [ |
24 | "${workspaceFolder}/editors/code/out/**/*.js" | 24 | "${workspaceFolder}/editors/code/out/**/*.js" |
25 | ], | 25 | ], |
26 | "preLaunchTask": "Build Extension" | 26 | "preLaunchTask": "Build Extension", |
27 | "skipFiles": [ | ||
28 | "<node_internals>/**/*.js" | ||
29 | ] | ||
27 | }, | 30 | }, |
28 | { | 31 | { |
29 | // Used for testing theextension with a local build of the LSP server (in `target/debug`). | 32 | // Used for testing theextension with a local build of the LSP server (in `target/debug`). |
@@ -39,6 +42,9 @@ | |||
39 | "${workspaceFolder}/editors/code/out/**/*.js" | 42 | "${workspaceFolder}/editors/code/out/**/*.js" |
40 | ], | 43 | ], |
41 | "preLaunchTask": "Build Extension", | 44 | "preLaunchTask": "Build Extension", |
45 | "skipFiles": [ | ||
46 | "<node_internals>/**/*.js" | ||
47 | ], | ||
42 | "env": { | 48 | "env": { |
43 | "__RA_LSP_SERVER_DEBUG": "${workspaceFolder}/target/debug/ra_lsp_server" | 49 | "__RA_LSP_SERVER_DEBUG": "${workspaceFolder}/target/debug/ra_lsp_server" |
44 | } | 50 | } |
@@ -46,10 +52,10 @@ | |||
46 | { | 52 | { |
47 | // Attaching LLDB by Pid to lsp server | 53 | // Attaching LLDB by Pid to lsp server |
48 | // NOTE: it requires root permission, also for better debugging | 54 | // NOTE: it requires root permission, also for better debugging |
49 | // if you want more than just assembler representation for ex: | 55 | // if you want more than just assembler representation for ex: |
50 | // walk in file, you need debugging symbols. | 56 | // walk in file, you need debugging symbols. |
51 | // Project can build with it, for set - chane inside | 57 | // Project can build with it, for set - chane inside |
52 | // ./Cargo.toml field debug | 58 | // ./Cargo.toml field debug |
53 | "name": "Attach To Server", | 59 | "name": "Attach To Server", |
54 | "type": "lldb", | 60 | "type": "lldb", |
55 | "request": "attach", | 61 | "request": "attach", |