to add debuginfo for catch the error information