Sha256: 551af2c58b8c2bc3679b2715a44b2aee23915d6f855542520452bbfbdc139a8b
Contents?: true
Size: 1.21 KB
Versions: 23
Compression:
Stored size: 1.21 KB
Contents
if RUBY_VERSION < '2.0' || defined?(JRUBY_VERSION) require 'ruby-debug-base' else require 'debase' end require 'ruby-debug-ide/version' require 'ruby-debug-ide/ide_processor' module Debugger class << self def print_greeting_msg(stream, host, port, debugger_name = "Fast", socket_path = nil) base_gem_name = if defined?(JRUBY_VERSION) || RUBY_VERSION < '1.9.0' 'ruby-debug-base' elsif RUBY_VERSION < '2.0.0' 'ruby-debug-base19x' else 'debase' end file_filtering_support = if Command.file_filter_supported? 'supported' else 'not supported' end if host && port listens_on = " listens on #{host}:#{port}\n" elsif socket_path listens_on = " listens on #{socket_path}\n" else listens_on = "\n" end msg = "#{debugger_name} Debugger (ruby-debug-ide #{IDE_VERSION}, #{base_gem_name} #{VERSION}, file filtering is #{file_filtering_support})" + listens_on stream.printf msg end end end
Version data entries
23 entries across 15 versions & 4 rubygems