Sha256: fdc8ae3727f65a1dd2dfeb2a6d26bdfa19354eb86fd615c54d348e431e24e000

Contents?: true

Size: 415 Bytes

Versions: 41

Compression:

Stored size: 415 Bytes

Contents

def load_debugger(gems_to_include, new_argv)
  path_to_rdebug = File.expand_path(File.dirname(__FILE__)) + '/../../../bin/rdebug-ide'

  old_argv = ARGV.clone
  ARGV.clear
  new_argv.each do |x|
    ARGV << x
  end

  gems_to_include.each do |gem_path|
    $LOAD_PATH.unshift(gem_path) unless $LOAD_PATH.include?(gem_path)
  end

  load path_to_rdebug
  
  ARGV.clear
  old_argv.each do |x|
    ARGV << x
  end
end

Version data entries

41 entries across 33 versions & 5 rubygems

Version Path
avalara_sdk-24.12.2 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.3/lib/ruby-debug-ide/attach/debugger_loader.rb
avalara_sdk-24.12.1 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.3/lib/ruby-debug-ide/attach/debugger_loader.rb
avalara_sdk-24.12.0 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.3/lib/ruby-debug-ide/attach/debugger_loader.rb
ruby-debug-ide-0.7.4 lib/ruby-debug-ide/attach/debugger_loader.rb
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.3/lib/ruby-debug-ide/attach/debugger_loader.rb
ruby-debug-ide22-0.7.5 lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/ruby-debug-ide-0.7.3/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
ruby-debug-ide-0.7.3 lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/ruby-debug-ide-0.7.2/lib/ruby-debug-ide/attach/debugger_loader.rb