Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 Application Arguments for Dotnetcore function

I have build a donetcore function inside VS 2019 which failes without any hint

It mentions during start For detailed output, run func with --verbose flag.

But every application argument is causing a Error: unknown argument --verbose

How could I use arguments for better debugging ?

Arguments

like image 901
user3732793 Avatar asked Sep 04 '20 12:09

user3732793


People also ask

How do I install Azure function core tools in Visual Studio?

After you have installed the tools, you can open Visual Studio and add a new Azure Functions project. To add the Azure Functions Core Tools to your project, open the Tools menu in Visual Studio and select Azure Functions Core Tools. This will open the Azure Functions Core Tools window.


1 Answers

It is the proper place to pass command line arguments.

You just have to add start before --verbose, like so:

start --verbose

enter image description here

like image 165
Peterjvw Avatar answered Jan 01 '23 08:01

Peterjvw