
Announcements
Hi all,
I created a custom api and I am calling it using perform a bound action in flow.
But my flow is failing after 10mins due to time out.
I am tested my code and its working fine with other entities and i have this ossue with particular entity. I did unit tests also, everything seems fine. I am not able to find what is the issue.
I want debugg the plugin to check the errors, i am trying to debug using profiler in plugin registration tool. But I am not sure what "message" i have to add in plugin registration step, as I am calling it in flow. I dont think create or update msg will work.
Is there any way to debug this custom api?
Hello,
There are few ways to debug your custom API:
1. Tracing - just use TracingService inside your plugin code and trace execution information. Cause plugin to trigger, check trace logs - easy enough, right?
2. More complicated way but using it you will be able to use the plugin profiler. In order to do that you can use following approach:
Once all the steps above done, cause the plugin to trigger and use plugin debugger as you do it with usual plugins.