Azure / Azure/azure-functions-host
Configuration set by the CLI is being ovveridden
Open
2.x
area: dependency injection
area: engineering
bug
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
Azure Functions CLI sets commandline arguments for configuring language worker debug ports: [StartHostAction.cs#L157](https://github.com/Azure/azure-functions-core-tools/blob/master/src/Azure.Functions.Cli/Actions/HostActions/StartHostAction.cs#L157)
But this config is being ovverridden in the functions script settings manager
[ScriptSettingsManager.cs#L128](https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/Config/ScriptSettingsManager.cs#L128)
This is breaking debug experience in VSCode: https://github.com/Microsoft/vscode-azurefunctions/issues/387
Contributor guide
Assessment
This issue has not been assessed yet.