Enabled remote debugging may lead to unauthorized access in Azure App Service. Remote debugging must be disabled.
In Azure Console -
In Terraform -
References:
https://learn.microsoft.com/en-us/azure/app-service/
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/app_service#remote_debugging_enabled