Skip to content

Single command to replace breakpoint and open vscode debugger #1948

Closed

Description

Summary

Often it can be pretty hard / tedious to replicate all the settings and env state when trying to debug through the integrated vscode config system. I have found it very convenient to just swap in the right breakpoint() on the line I want to debug.

Is it possible to have some equivalent that essentially is debugpy.breakpoint_and_attach() that encapsulates the full flow and can be used to drop into the debugger when hit? I tried to jerry-rig things up and didnt have much success, maybe this is already possible??

I use the integrated terminal

Activity

  1. changed the title [-]Single command to replace `breakpoint` in python[/-] [+]Single command to replace `breakpoint` and open vscode debugger[/+] on Aug 27, 2025
  2. locked and limited conversation to collaborators on Aug 27, 2025
  3. converted this issue into a discussion #1949 on Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions