In RubyMine, you can run and debug various types of applications without leaving the IDE.
Each Ruby or Rails script, a Rake task or an RSpec test that you wish to run or debug from within RubyMine, needs a special profile that specifies script name, working directory, and other important data required for running or debugging in different modes. RubyMine comes with a number of such pre-defined profiles, or run/debug configurations.
Using the RubyMine's debugger, you can find out the origin of the run-time errors and exceptions. The debugger enables you to execute your application step by step, examine program information related to variables, watches, or threads, and change your program without leaving the IDE.
Prior to launching the debugger session, you have to set breakpoints that cause the debugger to suspend application (or take some other actions), when such breakpoint is reached.
In this part you can find basic information about: