f45ce3c Feb 5, 2018
1 contributor

Users who have contributed to this file

10 lines (7 sloc) 1.17 KB

Debugging .NET Framework functions in VS Code

The VS Code Debugger for C# only supports attaching to 64-bit processes. However, v1.0 of the Azure Functions runtime defaults to 32-bit (See this issue for more info). Follow these instructions to install a 64-bit version:

  1. Install the 32-bit version of the cli with the command npm install -g azure-functions-core-tools
  2. Download a 64-bit version of the v1.0 cli from here. The file name will look similar to "".
  3. Run npm root -g to find the root folder containing your global npm packages (likely %USERPROFILE%\AppData\Roaming\npm\node_modules)
  4. Replace the files in <npm global packages root>\azure-functions-core-tools\bin with the un-zipped files

NOTE: The VS Code extension for Azure Functions will warn you to install the 64-bit version of the Azure Functions CLI every time you create a .NET Framework based project (even after you have installed the 64-bit version). You may ignore that warning once you follow the above steps.