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
Please sign in to leave a comment.
Actually this settings are only options for ./script/console.
How do you usually run rails application from console?
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
Rob,
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.
Roman,
Thank you. I will check out the article and look forward to remote debugging support in a future release.
-Rob
And I want to debug my app with thin,is there should be a thin option to select?