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

# Debug CloudScript 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.

# Tutorial: Debugging CloudScript using Azure Functions in the Azure portal

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

<img src="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" alt="Step 1 of debugging CloudScript Using Azure Functions in the Azure Portal" width="1095" height="733" data-path="images/playfab/live-service-management/service-gateway/automation/cloudscript-af/CloudScript-AF-Azure-Debug-01.jpg" />

The portal opens a page that displays the debug output:

<img src="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" alt="Step 2 of debugging CloudScript Using Azure Functions in the Azure Portal" width="1532" height="246" data-path="images/playfab/live-service-management/service-gateway/automation/cloudscript-af/CloudScript-AF-Azure-Debug-02.jpg" />


## Related topics

- [PlayFab CloudScript using Azure Functions Quickstart Guide](/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/quickstart.md)
- [Debug CloudScript Azure Functions with Visual Studio](/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/debugging-with-CloudScript-AF-VS.md)
- [Debug CloudScript with Azure Functions in Visual Studio Code](/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/debugging-with-CloudScript-AF-VSCode.md)
- [PlayFab CloudScript using Azure Functions](/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/index.md)
- [PlayFab CloudScript using Azure Functions Context Models](/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/CloudScript-af-context.md)
