
you can use ngrok for debugging remote event receiver (RER) on your localhost. The idea is that Sharepoint Online will send request to ngrok url and ngrok will redirect it to your localhost. Check this article: Use Azure function as remote event receiver for Sharepoint Online list and debug it locally with ngrok. It uses Azure functions for RER but it doesn't matter - same approach will also work with WCF.