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
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](https://private-user-images.githubusercontent.com/122307265/258954815-89e65336-da24-45f8-a542-34b0e9e19274.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDkzNTIzODMsIm5iZiI6MTcwOTM1MjA4MywicGF0aCI6Ii8xMjIzMDcyNjUvMjU4OTU0ODE1LTg5ZTY1MzM2LWRhMjQtNDVmOC1hNTQyLTM0YjBlOWUxOTI3NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMwMlQwNDAxMjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zYTczNjNlMjhhYzQwYzU0NDk1YjQ0MGVkMzNlOWE3YzNjNWRlMGM0ZGNmNDViNDI0MmQwNmQyYmU1MTY2ZWMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ePgXoV4fgyZnT5N_5jBnb7tFE2O4O-s5cQOBGgTtGiY)
I then receive the following Rider error:
![image](https://private-user-images.githubusercontent.com/122307265/258954869-f6465d60-2631-4cf1-a486-c429d9e5fd03.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDkzNTIzODMsIm5iZiI6MTcwOTM1MjA4MywicGF0aCI6Ii8xMjIzMDcyNjUvMjU4OTU0ODY5LWY2NDY1ZDYwLTI2MzEtNGNmMS1hNDg2LWM0MjlkOWU1ZmQwMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMwMlQwNDAxMjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNGUyNDZkNWQ0ZmI2ODg3NDkyNjBiYjk4ZWYzOTE3ZTliNWRhMzljNmFmY2Y0ZmQ0NmZjZDRhOGFlYzAwNmM5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.fK7vqeJrk3dasOzNwt7Us9RXyic36nUR8bnm2-C0cXE)
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.