-
Notifications
You must be signed in to change notification settings - Fork 457
Python timer trigger does not run locally when runonstartup is set to true #5262
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
Comments
Synced with @pragnagopa offline. She said that she would be able to take a look at this from the Host side. |
Took a closer look at this and following are the observations
Following the last observation, I tried to launch the runtime with debug arguments like I wonder if it's trying to complete attachment before runtime initialization is complete...? |
Thanks @yojagad for the investigation. @EricJizbaMSFT - We have narrowed the issue to command line options |
The command line options come from the Python extension (related to microsoft/vscode-python#3121) and pretty sure we just went with the default. @DonJayamanne @brettcannon what exactly does that |
I tried removing the Also this gets the timer trigger to run, but I still can't hit the breakpoint for the first execution. We have an issue on that here microsoft/vscode-azurefunctions#1492 and it's blocked by #4384 |
Thanks @EricJizbaMSFT for more details. |
Repro Steps:
"runOnStartup": true,
Expected result: host starts, function runs, breakpoint is hit.
Actual result: host hangs, eventually shows this error:
The text was updated successfully, but these errors were encountered: