How do we invoke a function app running locally (VS) from a Logic App(in Azure)? And also what's the best practice to debug during dev(like setting up break points..) for cloud solutions?
Asked
Active
Viewed 199 times
1 Answers
0
There are a couple of ways to go about it
For pull-type triggers like service bus queue/subscription, there is nothing required apart ensuring connectivity to service bus from your local environment.
For HTTP or Event Grid triggers, you would have to expose them directly or indirectly somehow.
A direct exposure would involve setting up port forwarding on your router and use your public IP address in your HTTP action. This would require you having control over your local network, which might be the case for many corporate networks.
An indirect exposure would be to use a service like ngrok
or localtunnel
.
As for debugging, locally with one of the above solutions is the simplest and efficient way for Azure Functions during development.

PramodValavala
- 6,026
- 1
- 11
- 30