Sha256: 02c2c3912a8e2ba0cf48c94d67e87756f3ebe49f69f420eb286a244442df4ef8
Contents?: true
Size: 671 Bytes
Versions: 4
Compression:
Stored size: 671 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/debug/client' config = DEBUGGER__.parse_argv(ARGV) case config[:mode] when :start require 'rbconfig' if config[:remote] start_mode = "debug/open" else start_mode = "debug/run" end ::DEBUGGER__.config_to_env(config) exec("#{RbConfig.ruby}", "-I#{File.expand_path(File.dirname(__dir__))}/lib", "-r" + start_mode, *ARGV) when :attach require_relative "../lib/debug/client" begin if ARGV.empty? && config[:port] connect [config[:host], config[:port]].compact else connect ARGV end rescue DEBUGGER__::CommandLineOptionError puts opt.help end else raise # assert end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
debug-1.0.0.beta4 | exe/rdbg |
debug-1.0.0.beta3 | exe/rdbg |
debug-1.0.0.beta2 | exe/rdbg |
debug-1.0.0.beta1 | exe/rdbg |