Add debug output for worker.rb