Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Debugging

Fabio Cavalcante edited this page Mar 9, 2021 · 1 revision

Release candidate instructions. Requires RC packages

NOTE: To debug your Worker, you must be using the Azure Functions Core Tools version 3.xxx or higher

In your worker directory (or your worker's build output directory), run:

func host start --dotnet-isolated-debug

Core Tools will run targeting your worker and the process will stop with the following message:

Azure Functions .NET Worker (PID: <process id>) initialized in debug mode. Waiting for debugger to attach...

Where <process id> is the ID for your worker process.

At this point, your worker process wil be paused, waiting for the debugger to be attached. You can now use Visual Studio to manually attach to the process (to learn more, see how to attach to a running process)

Once the debugger is attached, the process execution will resume and you will be able to debug.

Clone this wiki locally
Morty Proxy This is a proxified and sanitized view of the page, visit original site.