JetBrains/azure-tools-for-intellij

Unable to Launch, Debug on ARM MBP, Rider 2023.2 (RD-232.8660.212), Az Toolkit 3.50.0.1639-2023.2

MRRQX opened this issue · 2 comments

MRRQX commented

On Friday, 2023.08.04, I was using Rider, Az Toolkit to develop, debug Az Functions (Isolated) without issue.

On Sunday, 2023.08.06, I upgraded Rider to 2023.2 and Az Toolkit to 3.50.0.1639-2023.2.

Today I am unable to run, debug the same Az Function.

I use the CLI, Rider and Visual Studio Code.

Azure Functions Core Tools were initially installed using Homebrew.

func --version
4.0.5198

brew --prefix azure-functions-core-tools@4
/opt/homebrew/opt/azure-functions-core-tools@4

which func
/opt/homebrew/bin/func

I uninstalled and reinstalled Az Toolkit.

When I look at the default value for the settings:

v2, v3, v4 = Managed By Rider

Download Path: /Users/[ME]/.AzureToolsForIntelliJ/AzureFunctionsCoreTools

If I attempt to debug using an Azure Functions Host profile, the Toolkit will attempt to install the tools but they are not installed to /.AzureToolsForIntelliJ.

image

I then receive the following Rider error:

image

If I attempt to explicitly set the v4 tools path to /opt/homebrew/opt/azure-functions-core-tools@4 or /opt/homebrew/Cellar/azure-functions-core-tools@4/4.0.5198, the change is not persisted. It reverts once I save then reopen Settings.

If I open Terminal, execute func start, I am then able to attach a debugger.

Looks like this is #702 - we're working on a new plugin version (due later this week). Thanks for reporting!

FYI a fresh release has been published, you can install it from Rider's plugin manager.