debug batch.rb