在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
https://www.forrestthewoods.com/blog/how-to-debug-rust-with-visual-studio-code/
Install Rust and VS CodeThis should go without saying. Install Rust Install VS Code ExtensionsYou'll need to install an extension. Which one depends on your platform. C/C++ (Windows) It probably makes sense to go ahead and install the Rust extension as well.
Configure VS CodeNow that your tools are installed you need to configure your VS Code launch properties. Click Debug -> Add Configuration This should create and open
Next, you should verify breakpoints are enabled. Some readers have reporting needing to this do. Some machines have it enabled by default. ????♂️
That's it! Add a breakpoint. Press F5 to launch. Voila! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论