question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

over Remote SSH / when coming to "Executing task: func host start" Function host does not actually start

See original GitHub issue

In a reproducible clean setup of an Azure VM like this which I use to VS Code Remote SSH develop on from my Windows machine.

  1. I installed these extensions:
code --install-extension ms-dotnettools.csharp
code --install-extension ms-azuretools.vscode-azurefunctions
code --install-extension Azurite.azurite
code --install-extension Trottero.dotnetwatchattach
  1. did a from scratch project creation (dotnet non-isolated, C#, HttpTrigger) with func init and func new

  2. initialized the project with Azure Functions: Initialize Project for Use with VS Code…

  3. started Azurite Blob Service

  4. then started debugging with Attach to .NET Functions

the “func host start” does not actually start and drops into the shell

2022-10-20 10_43_22-Clipboard

after a while pickProcess pops up with

Failed to detect running Functions host within "180" seconds. You may want to adjust the "azureFunctions.pickProcessTimeout" setting.

submitting a func host start right from the shell where it dropped off connects the debugger

I had the same problem with Ubuntu 22.04 and hence decided to try it with another Linux distro.

Does anyone have any ideas or indications where I can look into?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
KaiWaltercommented, Nov 4, 2022

@nturinski thanks for the hint - you are right, it seems to be a general issue: https://github.com/microsoft/vscode-remote-release/issues/7458

0reactions
nturinskicommented, Nov 3, 2022

Hi @KaiWalter

Thank you for the very detailed issue and investigation.

Since it sounds like this may be an issue with the Remote extension, would you mind posting the issue on this repo as well?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find the Task 'func : host start' - Stack Overflow
I fixed this by installing the Azure Functions extension for Visual Studio Code then restarting Visual Studio Code.
Read more >
What is SSH (Secure Shell) and How Does it Work? Definition ...
SSH enables the same functions -- logging in to and running terminal ... The most basic use of SSH is to connect to...
Read more >
How To Use Visual Studio Code for Remote Development via ...
In this tutorial, you'll enable the Remote-SSH plugin, configure Visual Studio Code to execute code on the remote server, and execute code ...
Read more >
Frequently Asked Questions — Ansible Documentation
Frequently Asked Questions . Here are some commonly asked questions and their answers. Where did all the modules go? . In...
Read more >
Remote Development FAQ - Visual Studio Code
The server is started and stopped by VS Code and is not wired into any user or ... By default, the Remote -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found