I am setting local host port in local.setting.json. Referring Microsoft doc https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local
The file looks
I am using the CLI version 1.2.1, and the following Application arguments setting in Project Properties -> Debug worked for me.
Application arguments
Project Properties -> Debug
host start --port 7074 --nodeDebugPort 5860