# File lib/parslet/convenience.rb, line 27 def parse_with_debug str, opts={} parse str, opts rescue Parslet::ParseFailed => error puts error.cause.ascii_tree end