You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attached to a local process running Azure Functions, the python debugger gets stuck indefinitely at a set breakpoint, and there is no response to clicking step forward button etc. The variables window is also empty and loads indefinitely.
Click "Run and Debug" to run launch.json "Attach to Python Functions", which will start local Azure Functions serverless app via command 'func host start' and attach to that process.
Set breakpoint anywhere in any Function
Trigger the breakpoint
Debugger hangs indefinitely and cannot see local or global variables. Cannot exit process through CTRL+C. This happens inconsistently, may sometimes step through normally in the same breakpoint without changing the code.
Debug console is also unresponsive (try typing any command while stuck at breakpoint like print("test") and there is no output)
Need to restart Azure Functions App by clicking terminal trash can button or "detach" button in debug menu to get unstuck.
Things tried
Switch Python extension version to pre-release
Restart VS code
Re-install Azure Functions extension
Re-install Azure Core Tools
Screencapture
20240927134944.mp4
The text was updated successfully, but these errors were encountered:
Issue Type: Bug
Behavior
When attached to a local process running Azure Functions, the python debugger gets stuck indefinitely at a set breakpoint, and there is no response to clicking step forward button etc. The variables window is also empty and loads indefinitely.
Setup
VS Code:
**
Python version: 3.9.7
Python VS Code extension version: v2024.14.1
Azure Functions VS Code extension version: v1.15.4
Azure Core Tools version: 4.0.6280**
launch.json
Steps to reproduce:
Things tried
Screencapture
20240927134944.mp4
The text was updated successfully, but these errors were encountered: