> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Debugging CloudScript using Azure Functions in the Azure portal

> Debug PlayFab CloudScript Azure Functions from the Azure portal by opening your Functions app and streaming live logs from the Monitoring section.

If you are editing your Azure Functions using the [Azure portal](https://portal.azure.com), you can get logs directly in the portal.

To find the logs you can use the following steps:

1. Open the [Azure portal](https://portal.azure.com)
2. Navigate to your Azure Functions app
3. Select Platform features
4. Select Log Streaming under the Monitoring section

![Step 1 of debugging CloudScript Using Azure Functions in the Azure Portal](https://mintcdn.com/microsoft-4404708b/dqv53299jA1M-fNi/images/playfab/live-service-management/service-gateway/automation/cloudscript-af/CloudScript-AF-Azure-Debug-01.jpg?fit=max\&auto=format\&n=dqv53299jA1M-fNi\&q=85\&s=c3b5f2f8cb12511d549754512b356efb)

The portal opens a page that displays the debug output:

![Step 2 of debugging CloudScript Using Azure Functions in the Azure Portal](https://mintcdn.com/microsoft-4404708b/dqv53299jA1M-fNi/images/playfab/live-service-management/service-gateway/automation/cloudscript-af/CloudScript-AF-Azure-Debug-02.jpg?fit=max\&auto=format\&n=dqv53299jA1M-fNi\&q=85\&s=537a1c0adac0240fcf04e6a3a760be33)


## Related topics

- [PlayFab CloudScript using Azure Functions Quickstart Guide](https://docs.xbox.com/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/quickstart.md)
- [Debugging CloudScript using Azure Functions with Visual Studio](https://docs.xbox.com/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/debugging-with-CloudScript-AF-VS.md)
- [Debugging CloudScript using Azure Functions with Visual Studio Code](https://docs.xbox.com/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/debugging-with-CloudScript-AF-VSCode.md)
- [Local debugging for Cloudscript using Azure Functions](https://docs.xbox.com/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/local-debugging-for-cloudscript-using-azure-functions.md)
- [PlayFab CloudScript using Azure Functions](https://docs.xbox.com/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/index.md)
