azure-functions-dotnet-worker: Unable to debug functions locally with FunctionsEnableWorkerIndexing (Worker.Sdk >= 1.16.0)
Unable to debug functions locally in Microsoft.Azure.Functions.Worker.Sdk v 1.16.0, 1.16.1 and 1.16.2 (when FunctionsEnableWorkerIndexing started to default to True)
After starting debugging the console window opens and hangs and displays:
A debugger was not attached within the expected time limit. The process will continue without a debugger. Worker process started and initialized.
After these messages, the normal output (function metadata) is displayed.
What works:
Rolling back to 1.15.1
Running 1.16.x with <FunctionsEnableWorkerIndexing>False</FunctionsEnableWorkerIndexing>
Setup
- macOS (arm, M2 Max)
- func: 4.0.5455
- vscode: 1.84.2
- .Net 8.0.100
Related issues
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 6
- Comments: 17 (7 by maintainers)
Just confirmed this issue still exists in version 1.17.0
Hello @kshyju. I tested again and I think the issue has been fixed after I upgraded my VS (17.7.7 -> 17.10.5). Assuming core tools are tied with it? Current version is: