onefuzz/docs/how-to/remote-debugging-dotnet.md
Stas c175b4676a
enable running dot-net function on Windows to allow attaching remote debugger (#2344)
* enable running dot-net function on Windows to allow attaching remote debugger

* rename from 'use_windows' to 'host_dotnet_on_windows'

* instructions

* reformat deploy.py

Co-authored-by: stas <statis@microsoft.com>
2022-09-06 09:34:22 -07:00

620 B

How to setup remote debugging of dotnet Azure Functions on new deployments

  1. when running deploy.py use --host_dotnet_on_windows flag as part of the command line. This will deploy dotnet Azure Function on Windows Server Farm, which supports functinoality for remote debugging of dotnet code.

  2. Follow instructions on how to connect Visual Studio 2022 to newly deployed Azure Function: https://docs.microsoft.com/en-us/azure/azure-functions/functions-develop-vs?tabs=in-process#remote-debugging