RubyMine 2016.2 Help

Debugging Rake Tasks under Zeus

To debug a Rake task, when using Zeus, follow these general steps

  1. Make sure the breakpoints are set in the Rake task script you want to debug.
  2. Do one of the following:
    • On the main menu, choose Tools | Run Zeus Server
    • On the main toolbar, click the run/debug configuration selector, and choose Edit Configurations. Then, in the Run/Debug Configurations dialog box, create run/debug configuration for Zeus server. Refer to the section Creating and Editing Run/Debug Configurations for detailed description of the procedure.

      Note that you must specify Start in the Commands field to start the server.

  3. Launch Zeus in the debug mode. To do that, with the Zeus run/debug configuration selected, click debug, or press Shift+F9.
  4. With the Zeus server running in the debug mode, run the desired Rake task script.

See Also

Last modified: 30 November 2016