on-internet
← Community

Rust in Visual Studio - Console closes automatically

Stack Overflow ·

When writing rust programs with Visual Studio 2026 I have the problem that the console immediately closes after program exit (all different modes: debugging, release, test - with and without Debugging) . I use the "Rust Development Pack" Extension (based on rust-analyzer.vs). It does not work based on solution but on "open folder" mode - so there is no project settings to edit. The Debug-Setting "Auto close Console window" is already switched off. I first used another rust-extension (SourceGear Rust) and there it worked, but it has other issues that make it unusable for me. How to force VS to

Comments

Sign in or sign up to comment and upvote.

No comments yet.