diff options
Diffstat (limited to 'docs/dev/debugging.md')
| -rw-r--r-- | docs/dev/debugging.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/dev/debugging.md b/docs/dev/debugging.md index 5876e71bcab..48caec1d8fa 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 } ``` +However for this to work, you will need to enable debug_assertions in your build +```rust +RUSTFLAGS='--cfg debug_assertions' cargo build --release +``` + ## Demo - [Debugging TypeScript VScode extension](https://www.youtube.com/watch?v=T-hvpK6s4wM). |
