Skip to content

Single command to replace breakpoint and open vscode debugger #1948

@drisspg

Description

@drisspg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions