Pre-Condition
- Download and configure Aptana Stodio
- Ensure ruby is installed
Debug rails project with Aptana Stodio
- Install ruby-debug-ide
gem install ruby-debug-ide
- Change directory to rails project root directory, and create
script
folder, and then copy bin/rails file toscript folder
mkdir script
cp bin/rails script
add server
Go Preferences panel
Select your project.
show server view
- Click Window -> Show -> View -> Other
- Select the Studio Servers
run debug server
set breakpoint and then you will go to the breakpoint