- Install VSCode Extensions: Windows Compiler Stuff , MAC/Linux Compiler Stuff , Rust Extension
- Download and install cargo
- Restart VSCode
- Smash that F5 Button
Hello World!
Delete "(OSX) Launch" or "(Windows) Launch" from tasks.json if you don't need it.
Thx to:
- https://www.forrestthewoods.com/blog/how-to-debug-rust-with-visual-studio-code/
- https://github.com/hid2/rust-hello-world-debug
- https://www.reddit.com/r/rust/comments/f1qsx9/debugging_rust_in_vscode_in_2020/
Links provided seemed fine at the time i checked them. However I do not provide any guarantees about the safety of the provided links as of now and especially in the future. Only tested on Windows if there are issues with Mac/Linux and you know the solution please let me know. Then i will fix this.