You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background
Above every test that you write, a Run Test | Debug header is visible, making it easy to quickly debug one particular test.
When you debug, the project is compiled first, and then the process starts.
#[test]fntest_x(){assert_eq!("1", "1.1.0");}
However, when you press the restart button, the compile process is not restarted. When you change code in the mean time, you'd have to end the debugging session and run it again.
Suggested feature
Have an rust-analyzer.debug.prestartcommand option to make the users fill in a command to rebuild the process.
Re-compile the project when the restart button is pressed. If this is an unwanted feature, make it configurable via rust-analyzer.debug.recompileAfterRestart
The text was updated successfully, but these errors were encountered:
Background
Above every test that you write, a
Run Test | Debug
header is visible, making it easy to quickly debug one particular test.When you debug, the project is compiled first, and then the process starts.
However, when you press the restart button, the compile process is not restarted. When you change code in the mean time, you'd have to end the debugging session and run it again.
Suggested feature
rust-analyzer.debug.prestartcommand
option to make the users fill in a command to rebuild the process.rust-analyzer.debug.recompileAfterRestart
The text was updated successfully, but these errors were encountered: