Search code examples
rubydebuggingrubymine

Using Ruby with Rubymine, or another debugger, is it possible to enter debug mode upon an error condition?


I can't seem to find any information about this. It either doesn't exist or I am using the wrong search terms...

I understand debugging using breakpoints and other controlled execution modes. However, what I would like to do is have the debugger open up upon an error condition. I've had that capability in other IDE's but I don't see it here.

Am I missing something? Are there options for doing this?


Solution

  • If I understand you correctly, you need program to stop when exception occurs. You should add an exception breakpoint