Skip to content

Instantly share code, notes, and snippets.

@tmaeda
Created August 20, 2009 05:38
Show Gist options
  • Save tmaeda/170860 to your computer and use it in GitHub Desktop.
Save tmaeda/170860 to your computer and use it in GitHub Desktop.
ruby-debug remote debug
# ruby-debug でリモートデバッグ
require 'ruby-debug'
Debugger.wait_connection = true
Debugger.start_remote
# これでプログラムを起動すれば待ち受け状態になるので、$rdebug -c とすればサーバーに接続できる
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment