'Azure Functions Packet Capture and Network Trace

Is there a way to use Azure Network Watcher or any other service to capture packets from an Azure Functions App? I have tried with Azure Network Watcher, but it only gives me an option to capture packets from a VM. The functions app is hosted on an App Service Plan.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source