pypi / debugpy
debugpy
What changed in debugpy 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
2 breaking3 new APIs and options2 behavior and defaults13 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdebugpy 120 changes
Breaking changes 2
A ContinueRequest with a specific threadId no longer resumes all threads in the in-process adapter.
The evaluate result is returned in the DAP response body instead of being written to stdout.
New APIs and options 3
Adds an LLDB attach-to-PID option for debugpy on Linux.
Adds trigger_exception_handler() for post-mortem debugging of caught exceptions.
An option is added to ignore all system exit codes.
Behavior and default changes 2
Adds support for more architectures.
Uses remote_exec when available.
Fixes and other changes 13
Populates hitBreakpointIds in the DAP stopped event.
Respects isolated mode when patching sys.path.
Returns the endpoint from listen() when using the in-process adapter.
Prevents the debugger from hanging when expanding objects with blocking property getters.
Fixes a SyntaxError when the temporary path contains backslashes.
Prevents a duplicate stopped event when two threads hit a breakpoint at once.
Arguments to
-cthat are bytes rather than strings are handled.Evaluation of variables from chained exception frames is fixed.
The dlerror output is displayed when dlopen fails.
Evaluation failures display an error message in the hover context.
An invalid scopes request no longer crashes the debug session.
The variable resolver skips uninitialized slots.
Fixes exceptions caused by annotations in Python 3.14.