# Fast Rails Debugging using Aptana Rails IDE [edit]

This page gives an overview of how to quickly start debugging with the Aptana Rails IDE.

## Introduction

Once you have your Rails plug-in configured, you only need to perform a couple of additional steps to get started with debugging your Rails projects. These steps are outlined in the instructions below.

## Instructions

To get started with debugging a Rails project:

1. Switch to the Rails perspective, if you are not already using it.
2. Use the Ruby Gems View to install the ruby-debug-ide gem. See the Ruby Gems View Help topic to learn how to install and manage gems from the Ruby Gems View.
3. Make sure that you have your Ruby interpreter set up. See Step 2 in Configuring your RadRails setup to learn how to configure your Ruby interpreter.
4. Make sure that your preferences are set up for debugging:
   1. From the Windows menu, select Preferences... to open a Preferences window.
   2. On the tree on the left, expand Ruby and select Debugger.
   3. On the Debugger screen, check the Use ruby-debug library preference.
   4. Click OK.
5. Launch your server under debug mode.
   1. In the Servers View, select the server that you want to launch.
   2. Click the Debug button .

Aptana Rails runs your server in debug mode.

You can switch to the Debug perspective (In the upper right corner of your workbench, click the Open Perspective button > Other... > Debug) to access debugging related Views and more debugging tools.

Retrieved from "http://aptana.com/docs/index.php/Fast_Rails_Debugging_using_Aptana_Rails_IDE"

Categories: AptanaHelp | RadRails