Could not attach to process with CustomPipeName: 'AzureFunctionsPSWorker'
See original GitHub issueI have a PowerShell Function App which I would like to build and test locally. Previously, I could run locally with no issue, but now this is no the case. When I type func host start
or F5, I am prompted with the following error:
You must have the Azure Functions Core Tools installed to debug your local functions.
When I click install, I get the following error:
Could not attach to process with CustomPipeName: ‘AzureFunctionsPSWorker’
*** I have opened this issue in the vscode-azurefunctions repo as well. As I am not sure who can help me: https://github.com/microsoft/vscode-azurefunctions/issues/1744#issue-534941282
Issue Analytics
- State:
- Created 4 years ago
- Comments:28 (14 by maintainers)
Top Results From Across the Web
Debugging Azure Functions throws error, "The pipeline ...
Run Get-PSHostProcessInfo locally to ensure there is no dotnet process. From VS Code, Attach to PowerShell Functions with the following config.
Read more >Unable to Attach to the Process - Visual Studio (Windows)
Unable to attach to the process. Debugger component on server received access denied while connecting to this machine. There are two common ...
Read more >Attach to running process not working and geting hung
When I select Debug / Attach to Process (or press CTRL+ALT+P) - I get a spinner and eventually my screen becomes unresponsive.
Read more >Can't Debug/Specify Port in .NET 4.8 Azure Function ...
I am unable to debug an Azure Function in Rider. I get "A debugger was not attached within the expected time limit. The...
Read more >after upgrade gdb won't attach to process
In Maverick Meerkat (10.10) Ubuntu introduced a patch to disallow ptracing of non-child processes by non-root users - ie. only a process ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes I get this error in Powershell. I can meet at 1:00 which is my 3 pm.
I came across this in my search and I was having the issue described. I ran
func: host start --verbose
I noticed the terminal log got hung on a step where it’s attempting to grab the latest Extensions for Azure Core tools (?). THen, I got the error described above.
That led me to remove the
"extensionBundle": {}
block in thehosts.json
file of my project which ultimately resolved my issue.