I found that if the segmentation fault occurred because of my bad code, the terminal window does not receive or display this information. Is there a method to address this issue?
#include <iostream>
class DerivedA {
   public:
      ~DerivedA() { delete this; };
};
class DerivedB {};
int main() {
   [[maybe_unused]] DerivedA a;
   return 0;
}