Unable to debug in VSCode on Apple Silicon Mac
⚓ Rust 📅 2025-11-19 👤 surdeus 👁️ 8Hi I have started setting up Rust withg the hope to use it in advent of code this year. I have installed rust using rustup and installed the rust-analyzer, C++ and CodeLLDB plugins into vscode. When trying to debug the application (using F5) I get the following error.
ENOENT: no such file or directory, stat 'C:\Users\mrpar\AppData\Local\Programs\Swift\Toolchains\6.0.2+Asserts\usr\bin\liblldb.dll'
First this seams strange as I am on a M4 chip and it's giving me a windows path but it just straight up doesnt work. I also get options when debugging for CodeLLDB or C++ and selecting either leads to no debugging.
Does anyone have any idea?
For reference, running 'cargo run' at the project level runs the project fine and it builds I just simply cannot debug.
Soething even stranger is running it in Zed works and it debugs fine so must be somethign to do with the setup in vscode?
3 posts - 2 participants
🏷️ Rust_feed