See the response from my webhook

thanks for responding, the url square webhook calls after a payment completed. then i have to receive the data sent from square and validate them then get the data of the payment then process the client order. but somehow the order is not processing. i think theres an error in my code which is handling square webhook. this can be problem on validating request,it can be due to sdk loaded or not also can be syntax error. But i cannot check which type of error occuring in my code,since the request process on backend after my user paid and payment.update webhook triggered, also i cannot make fake request with the square webhook like request to see whats going on my function…like on stripe on webhook logs theres a panel that show the response from my webhook endpoint,thats how i know if there any error occured and where the problem is,on the otherhand i cannot figure out…i am new to square so please help me out how can i debug this issue