Skip to content

Python Local Debugging with Breakpoint: The operation was aborted. #890

Closed

Description

Version

Core Tools Version: 4.0.7317
Function Runtime Version: 4.1038.300.25164

Operating System: MacOS 15.5
Python: 3.11.9
Visual Studio Code: 1.101.2 (Universal)

Description

During Local Debugging on Python Azure Functions, I get an Error saying.

Warning

The operation was aborted. Rejecting from abort signal callback while making request.

Image

However, the process of Debugging works as usual after the Error. I am able to Continue, Step Into, Step Over etc. as usual in the Debug mode.

Steps to reproduce

Here is what I did.

  1. Setup Azure Function environment on Local System.
  2. Setup Python without a Virtual Environment (Skip Virtual Environment).
  3. Create a HTTP Trigger Function http_trigger with the Default Configuration.
  4. Set a Breakpoint at Line Number 10.
  5. Start Local Debugging using Fn + F5.
Image
  1. Execute the HTTP Function http_trigger from the Local Project.
Image
  1. Got the Error after ~10 seconds.
Image

Activity

  1. eleanorjboyd commented on Dec 9, 2025

    @eleanorjboyd
    Member

    anything in your python or python debugger extension logs

  2. himanshu-ram-punjabi commented on Dec 10, 2025

    @himanshu-ram-punjabi
    Author

    Hi, Eleanor Boyd (@eleanorjboyd)

    Should I follow the instructions here to Enable debugger logs or is there some other article that I can refer?

    I am sharing screenshots of the Visual Studio Code tabs captured after I repeated the process today.

    Image Image Image Image Image Image Image

    Regards,
    Himanshu Punjabi

  3. github-actions commented on Jan 9, 2026

    @github-actions

    Hey Eleanor Boyd (@eleanorjboyd), this issue might need further attention.

    Himanshu Punjabi (@himanshu-ram-punjabi), you can help us out by closing this issue if the problem no longer exists, or adding more information.

  4. himanshu-ram-punjabi commented on Jan 9, 2026

    @himanshu-ram-punjabi
    Author

    Hi, Team

    Please let me know what further information is required. Thank you.

    Regards,
    Himanshu Punjabi

  5. rchiodo commented on Jan 9, 2026

    @rchiodo
    Contributor

    I don't believe this is a debugger error. The 'source' of the error is Azure Functions. Something there is putting up this message.

  6. rchiodo commented on Jan 9, 2026

    @rchiodo
    Contributor

    My guess is that pausing in the debugger causes whatever is listening for that azure function to timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions