Skip to content

Single command to replace breakpoint and open vscode debugger #1948

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

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