Skip to content

Commit ed70d3c

Browse files
committed
Merge pull request #33 from os97673/correct-readyness-report
debugger should report that it's listening on port when it's actually li...
2 parents 7316d97 + 3cf3f70 commit ed70d3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def start_control(host, port)
107107
host ||= '127.0.0.1'
108108
gem_name = (defined?(JRUBY_VERSION) || RUBY_VERSION < '1.9.0') ? 'ruby-debug-base' :
109109
RUBY_VERSION < '2.0.0' ? 'ruby-debug-base19x' : 'debase'
110-
$stderr.printf "Fast Debugger (ruby-debug-ide #{IDE_VERSION}, #{gem_name} #{VERSION}) listens on #{host}:#{port}\n"
111110
server = TCPServer.new(host, port)
111+
$stderr.printf "Fast Debugger (ruby-debug-ide #{IDE_VERSION}, #{gem_name} #{VERSION}) listens on #{host}:#{port}\n"
112112
while (session = server.accept)
113113
$stderr.puts "Connected from #{session.peeraddr[2]}" if Debugger.cli_debug
114114
dispatcher = ENV['IDE_PROCESS_DISPATCHER']

0 commit comments

Comments
 (0)