RubyMine
 
2024.3
Get RubyMine

Debug console

Last modified: 01 July 2024

When you run the debugging session for a Ruby script, Rails application, or test, RubyMine displays output and error messages in a console. After a breakpoint is hit or the debugging session is paused manually, you can examine a state of the suspended program using an interactive IRB-like console. In this console, you can check variable values, examine complex objects, call methods, and so on.

https://resources.jetbrains.com/help/img/idea/2024.3/rm_get_started_debug_console.png
Gif

In this topic, we'll show you how to open and use this console.