Build and Run on Remote Machine
On the Remote Machine
Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Locally
In IntelliJ, create a Cargo Run configuration.
For Run on, select an SSH host where you want to run the RUST application.
Remote Debugging
On the Remote Machine
Install gdbserver
sudo apt-get install gdbserver
Install lldb-19
sudo apt install lldb-19
Locally
In Rust Rover, add Remote Debugger from the list of Run/Debug Configurations.
https://www.jetbrains.com/help/rust/remote-debug.html#launch-lldb


