I have created an Azure function app and a function called "Stripe" for listening for Stripe webhooks. I've installed all Azure extensions in VS Code and in the workspace dropdown I can click on deploy and it deploys and runs in Azure. I can connect to the url and all is ok!
But, when I click on "Deploy to func app" here
I notice that the deployment always builds/publishes with --configuration "Release"
QUESTION - How do I change the configuration from Release to debug either in some config file or from the cli?
As of now, Visual Studio Code doesn't support Azure Functions remote debugging.
Remote debugging is possible from the specific versions of Visual Studio - Azure Functions:
There is a Visual Studio Code limitation on remote debugging, and currently the Remote Debugging is supported only in Node JS Azure App Service through VS Code.
I would suggest raising a ticket in GitHub of VS Code Request features and VS Code Report Issues will provide the quick & better resolution from VS Code Official Support.