intellij-rust: Unable to debug with Apple M1
Environment
- IntelliJ Rust plugin version: 0.3.138.3572-203
- Rust toolchain version: 1.49.0
- IDE name and version: Intellij 2020.3.1
- Operating system:: OSX Big Sur
Problem description
No problem with code run but when I try to debug it, I got the following error :
/Users/xxx/IdeaProjects/testrust/target/debug/testrust
process exited with status -1 (Error 1)
Process finished with exit code 0
Nothing special in IJ logs :
2021-01-04 14:18:23,373 [ 31192] INFO - rust.openapiext.CommandLineExt - Executing `/Users/xxx/.cargo/bin/rustc --version --verbose`
2021-01-04 14:18:24,028 [ 31847] INFO - rust.openapiext.CommandLineExt - Executing `/Users/xxx/.cargo/bin/rustc --print sysroot`
Steps to reproduce
Just try to debug any rust program with a Mac M1.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 23 (10 by maintainers)
It works perfectly You’re doing great!