Skip to content

Commit 3dfc461

Browse files
bors[bot]kuy
andauthored
Merge #4536
4536: Fix names of launch configuration in dev docs r=kjeremy a=kuy Follows renaming of launch configurations in 80a42a0 Co-authored-by: Yuki Kodama <endflow.net@gmail.com>
2 parents 2711454 + d58d641 commit 3dfc461

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/dev/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ relevant test and execute it (VS Code includes an action for running a single
7474
test).
7575

7676
However, launching a VS Code instance with locally build language server is
77-
possible. There's **"Run Extension (Dev Server)"** launch configuration for this.
77+
possible. There's **"Run Extension (Debug Build)"** launch configuration for this.
7878

7979
In general, I use one of the following workflows for fixing bugs and
8080
implementing features.
@@ -86,7 +86,7 @@ then just do printf-driven development/debugging. As a sanity check after I'm
8686
done, I use `cargo xtask install --server` and **Reload Window** action in VS
8787
Code to sanity check that the thing works as I expect.
8888

89-
If the problem concerns only the VS Code extension, I use **Run Extension**
89+
If the problem concerns only the VS Code extension, I use **Run Installed Extension**
9090
launch configuration from `launch.json`. Notably, this uses the usual
9191
`rust-analyzer` binary from `PATH`. For this it is important to have the following
9292
in `setting.json` file:

docs/dev/debugging.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ where **only** the `rust-analyzer` extension being debugged is enabled.
2222

2323
## Debug TypeScript VSCode extension
2424

25-
- `Run Extension` - runs the extension with the globally installed `rust-analyzer` binary.
26-
- `Run Extension (Dev Server)` - runs extension with the locally built LSP server (`target/debug/rust-analyzer`).
25+
- `Run Installed Extension` - runs the extension with the globally installed `rust-analyzer` binary.
26+
- `Run Extension (Debug Build)` - runs extension with the locally built LSP server (`target/debug/rust-analyzer`).
2727

2828
TypeScript debugging is configured to watch your source edits and recompile.
2929
To apply changes to an already running debug process, press <kbd>Ctrl+Shift+P</kbd> and run the following command in your `[Extension Development Host]`
@@ -47,7 +47,7 @@ To apply changes to an already running debug process, press <kbd>Ctrl+Shift+P</k
4747
debug = 2
4848
```
4949

50-
- Select `Run Extension (Dev Server)` to run your locally built `target/debug/rust-analyzer`.
50+
- Select `Run Extension (Debug Build)` to run your locally built `target/debug/rust-analyzer`.
5151

5252
- In the original VSCode window once again select the `Attach To Server` debug configuration.
5353

0 commit comments

Comments
 (0)