Hi! rust-analyzer crashes very often for me. I've already installed a debug build, but don't know how to obtain a backtrace. I'm using ra from vscode, and running that from a terminal, even with -w, produces no output when the extension host crashes. Also the ra logs under .config/Code/logs/*/exthost1/output_logging_*/*-Rust* are mostly empty (no backtraces). I'm using arch linux. Help?

How did you install the debug build? cargo xtask install?

Did you set RUST_BACKTRACE=1?

I usually build the server with debug = 2 via cargo build and then open an extension host that uses the built language server in VSCode debugger. You can refer to this video where I recorded debugging process of a certain bug.

It wasn't actually ra that crashed, but the treesitter extension. I haven't seen it crash in quite some time, and I wonder why it's so crashy when ra is enabled at the same time

Since I was convinced it was ra's fault, I only looked for backtraces in the dev tools, but this time I looked closer and saw that there was a reference to the treesitter extension. So I disbaled that and then it stopped crashing...