lib/debug/open.rb
# frozen_string_literal: true # # Open the door for the debugger to connect. # Users can connect to debuggee program with "rdbg --attach" option. # # If RUBY_DEBUG_PORT envval is provided (digits), open TCP/IP port. # Otherwise, UNIX domain socket is used. # require_relative 'session' return unless defined?(DEBUGGER__) DEBUGGER__.open