How can I debug code if I cant print messages without wrecking the solution

How can I debug code if I cant print messages without wrecking the solution or installing the pry gem?

1 Like

# To debug: STDERR.puts "Debug messages..."

2 Likes