I would like to debug my rust source code by clicking on "Debug" in the UI (see screenshot). I need to enable the nightly
flag for my code to work. How can I update the default debug configuration to pass the nightly
flag? To make things more complex, I'm connected to a remote box via SSH.
You can use the standard mechanisms to specify nightly using a toolchain override. If your code should always use nightly, your best bet is to either:
rustup override set nightly
in your project's directoryrust-toolchain.toml
file with [toolchain] channel = "nightly"
That way all Cargo commands in your project will use it.