# File lib/parslet/convenience.rb, line 26 def parse_with_debug str parse str rescue Parslet::UnconsumedInput => error puts error rescue Parslet::ParseFailed => error puts error puts error_tree end