最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

catalystbyzoho - Guidance on running live events from my local machine for Zoho Catalyst events - Stack Overflow

programmeradmin1浏览0评论

I am using Zoho Catalyst Event Listeners to listen to events from the Datastore for any data insert and if an event occurs using my event function associated to the event rule to send mail.

Each time during development I had to deploy the function from my local machine to check how my function behaves for those live events, this is an inefficient way to debug and develop.

I need to debug my function for those live events from my local machine for fast and efficient development

I checked the Catalyst CLI event generate CLI command but it can be only used for sample events and not the actual live events which doesn't solve my use case.

I am using Zoho Catalyst Event Listeners to listen to events from the Datastore for any data insert and if an event occurs using my event function associated to the event rule to send mail.

Each time during development I had to deploy the function from my local machine to check how my function behaves for those live events, this is an inefficient way to debug and develop.

I need to debug my function for those live events from my local machine for fast and efficient development

I checked the Catalyst CLI event generate CLI command but it can be only used for sample events and not the actual live events which doesn't solve my use case.

Share Improve this question asked Feb 6 at 6:45 RaghuRaghu 1138 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

You won't be able to run your event functions for the live events from your local machine. But there is a workaround solution to debug the function for the live events.

You can use the Catalyst Tunnelling option to use reverse proxy in order to log the event function execution from your local machine. You can use a reverse proxy provider such as Ngrok, Localtunnel etc., in order to get a Tunneling URL which you can add it in the console and map it to your event function. Read more->

Once mapped, all the logs from your event function logs will be routed to the tunnelling URL and based on the reverse proxy provider you are using you can route it back to your local machine Catalyst CLI using the functions:shell method. Read more->

发布评论

评论列表(0)

  1. 暂无评论