aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-21 13:52:08 +0100
committerGitHub <[email protected]>2021-06-21 13:52:08 +0100
commitf26dcb25f73b0ec94d12e6b46b6e1b4c095a24a4 (patch)
tree0799a42a44cc83f4dfd65f2d636f3f5f75dcb34d /docs
parent3898387f3bd579c0c5415ecb7c7b3d3923947f2f (diff)
parent530ee4ff8a63cce0a74117a8ae56a1435e5c634f (diff)
Merge #9347
9347: add note about passing cfg(debug_assertions) r=matklad a=rezural add note about passing cfg(debug_assertions) to rustc on build. The server will not spin on start without this arcane hack Co-authored-by: rezural <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/debugging.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/dev/debugging.md b/docs/dev/debugging.md
index 5876e71bc..48caec1d8 100644
--- a/docs/dev/debugging.md
+++ b/docs/dev/debugging.md
@@ -65,6 +65,11 @@ If you need to debug the server from the very beginning, including its initializ
65 } 65 }
66``` 66```
67 67
68However for this to work, you will need to enable debug_assertions in your build
69```rust
70RUSTFLAGS='--cfg debug_assertions' cargo build --release
71```
72
68## Demo 73## Demo
69 74
70- [Debugging TypeScript VScode extension](https://www.youtube.com/watch?v=T-hvpK6s4wM). 75- [Debugging TypeScript VScode extension](https://www.youtube.com/watch?v=T-hvpK6s4wM).