bin/rdebug-ide in ruby-debug-ide-0.3.0 vs bin/rdebug-ide in ruby-debug-ide-0.3.1

- old
+ new

@@ -9,11 +9,12 @@ options = OpenStruct.new( 'host' => nil, 'port' => 1234, 'tracing' => false, - 'frame_bind' => false + 'frame_bind' => false, + 'load_mode' => false ) opts = OptionParser.new do |opts| opts.banner = <<EOB Using ruby-debug-base #{Debugger::VERSION} @@ -22,10 +23,11 @@ opts.separator "" opts.separator "Options:" opts.on("-h", "--host HOST", "Host name used for remote debugging") {|options.host|} opts.on("-p", "--port PORT", Integer, "Port used for remote debugging") {|options.port|} opts.on("-x", "--trace", "turn on line tracing") {options.tracing = true} + opts.on("-l", "--load-mode", "load mode (experimental)") {options.load_mode = true} opts.on("-d", "--debug", "Debug self - prints information for debugging ruby-debug itself") do Debugger.is_debug = true end opts.on("-I", "--include PATH", String, "Add PATH to $LOAD_PATH") do |path| $LOAD_PATH.unshift(path) @@ -69,7 +71,7 @@ trap('INT') { Debugger.interrupt_last } # set options Debugger.keep_frame_binding = options.frame_bind -Debugger.main(options.host, options.port) +Debugger.main(options.host, options.port, options.load_mode)