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

testing locally process ends directly #22

Open
fenchu opened this issue Jul 5, 2023 · 1 comment
Open

testing locally process ends directly #22

fenchu opened this issue Jul 5, 2023 · 1 comment

Comments

@fenchu
Copy link

fenchu commented Jul 5, 2023

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I just try to run the sample locally to see if it works, but it just dies
Below is the run with debug output from vscode:

 & 'c:\dist\venvs\fastapi-on-azure-functions\Scripts\python.exe' 'c:\Users\mobj\.vscode\extensions\ms-python.python-2023.10.1\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '63728' '--' 'c:\dist\work\fastapi-on-azure-functions\function_app.py' 
just go back to the prompt. so there is no process taking the prompt.

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
windows11

Versions

python --version
Python 3.11.4

< pip freeze
anyio==3.7.0
azure-functions==1.15.0
fastapi==0.99.1
idna==3.4
pydantic==1.10.11
sniffio==1.3.0
starlette==0.27.0
typing_extensions==4.7.1

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@pamelafox
Copy link
Contributor

Does it work if you run "func host start"?

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