# File lib/spork/ext/ruby-debug.rb, line 128 def start_rdebug_server Debugger.stop if Debugger.started? port = find_port(Debugger::PORT) cport = find_port(port + 1) Debugger.start_remote(SporkDebugger::HOST, [port, cport]) do Debugger.run_init_script(StringIO.new) end Debugger.start [port, cport] end