print run errors in debug mode