debug ec.rb