Running remote rdebug in client-server mode

I’m still trying to get rdebug to debug my script/server on a remote machine from Textmate and still no luck.  However, I had another play with rdebug and have finally managed to get the client-server mode working. I never managed to find any blog posts that worked for me, so hopefully this will work for you!

On the server (from your Rails application root directory)
rdebug -sw ./script/server

On your local machine
rdebug -c -hIP.ADDRESS.OF.SERVER

Just as a reference I’m running ruby-debug 0.10.1 as a gem on OS X 10.5.4.

Advertisements

One Response to “Running remote rdebug in client-server mode”

  1. Running remote rdebug in client-server mode « Fringley's Blog Says:

    […] post: Running remote rdebug in client-server mode. Tags debugging, rails, rdebug, remote debug, ruby Categories […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: