Add parse errors to debugger function