This is a brief guide to the steps you need to take in order to debug Ruby In Rails applications by starting a debugging session using the Server script of your Rails application using the WEBrick server. Use this guide if you are already familiar with Rails and with Ruby In Steel: If you need more help, follow the more detailed guide to Debugging Rails with WEBrick.
- Set breakpoints in one or more Ruby (.rb) files in the application.
- Load the program to be debugged (i.e. the server file in the \script directory)
- Set the server file's properties:
a) Arguments = the port number
b) BuildAction = Ruby
c) Working Directory = the Application directory - Press F5 to start debugging