Added a little bit more debugging for parsing errors