Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Python Function in debug mode from the CLI #4164

Open
Falven opened this issue May 31, 2024 · 0 comments
Open

Start Python Function in debug mode from the CLI #4164

Falven opened this issue May 31, 2024 · 0 comments
Assignees

Comments

@Falven
Copy link

Falven commented May 31, 2024

Is it possible to start the function host in debug mode from the command line (not from a task)?
I've tried:

  • func start --verbose
  • func start --inspect=9091 --verbose
  • func host start --verbose --language-worker -- --inspect=9091
Language Worker Process exited. Pid=46434.
python3 exited with code 2 (0x2). .

But attempting to attach yields:

connect ECONNREFUSED 127.0.0.1:9091

This is not so when starting as a task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants