Hey folks, wondering what the recommended solution here is.
I have a library-only crate with an example that keeps segfaulting, and I'd like to debug it. I get the error in the topic title whenever attempting anything related to launching, debugging, etc.
I guess if I was working on a library crate with a binary, or a binary crate, this would be a no-brainer. However, I'm wondering how to go about debugging a library by way of its example? Is there something in Cargo.toml I need to set up indicating that the example should be the default target when building, or do I need to do something via VSCode? I've only been using VSCode for a few months, so could be missing something very obvious. Though I've successfully debugged other projects before, so I'm guessing I either need to configure my crate or my project to handle this case.