Renaming main.rs
with a script seems unnecessary: as it's written here, you can just use
"program": "${workspaceRoot}/target/debug/${workspaceRootFolderName}",
So if you have a guessing_game
project it'll result to "target/debug/guessing_game"
.