Debugging Apache

Hello;

I am running a Rails application which I have setup to use apache and passenger locally on my Mac.  I would like to debug into that application but when the debug setting come up during a debugging request only web servers such as lighttpd, webbrick and mongrel are shown.  I don't want to run any of these web servers for this particular application.  Can I debug into a running apache/passenger process and debug it?

Thank you.

-Rob Bazinet

5 comments
Comment actions Permalink

lighttpd, webbrick and mongrel are shown. 

Actually this settings are only options for ./script/console.

Can I debug into a running apache/passenger process and debug it?

How do you usually run rails application from console?

0
Comment actions Permalink

Roman,

I usually use Mongrel from console, but...this is not an app I can run from console.  Various reasons it won't work, so I need to debug on apache/passenger.  I assume this is not doable then?

-Rob

0
Comment actions Permalink

Rob,

I usually use Mongrel from console, but...this is not an app I can run from console.  Various reasons it won't work, so I need to debug on apache/passenger.  I assume this is not doable then?

I've never tried to debug rails application on apache/passenger so we will investigate it.

As far as I understand it is possible to remote debug rails application without calling "rdebug" script (http://www.datanoise.com/articles/2006/9/15/debugging-rails-application). Next RubyMine EAP will support Remote debugging feature, thus may be it will be possible to debug on apache/passenger.

0
Comment actions Permalink

Roman,

Thank you.  I will check out the article and look forward to remote debugging support in a future release.

-Rob

0
Comment actions Permalink

And I want to debug my app with thin,is there should be a thin option to select?

0

Please sign in to leave a comment.