unstale

pypi / debugpy

debugpy

What changed in debugpy 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

2 breaking3 new APIs and options2 behavior and defaults15 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

debugpy 122 changes

Breaking changes 2

  • A ContinueRequest with a specific threadId no longer resumes all threads in the in-process adapter.

    1.8.21release notes

  • The evaluate result is returned in the DAP response body instead of being written to stdout.

    1.8.21release notes

New APIs and options 3

  • Adds an LLDB attach-to-PID option for debugpy on Linux.

    1.8.22release notes

  • Adds trigger_exception_handler() for post-mortem debugging of caught exceptions.

    1.8.22release notes

  • An option is added to ignore all system exit codes.

    1.8.21release notes

Behavior and default changes 2

Fixes and other changes 15

  • Populates hitBreakpointIds in the DAP stopped event.

    1.8.22release notes

  • Respects isolated mode when patching sys.path.

    1.8.22release notes

  • Returns the endpoint from listen() when using the in-process adapter.

    1.8.22release notes

  • Prevents the debugger from hanging when expanding objects with blocking property getters.

    1.8.22release notes

  • Fixes a SyntaxError when the temporary path contains backslashes.

    1.8.22release notes

  • Prevents a duplicate stopped event when two threads hit a breakpoint at once.

    1.8.22release notes

  • Arguments to -c that are bytes rather than strings are handled.

    1.8.21release notes

  • Evaluation of variables from chained exception frames is fixed.

    1.8.21release notes

  • The dlerror output is displayed when dlopen fails.

    1.8.21release notes

  • Evaluation failures display an error message in the hover context.

    1.8.21release notes

  • An invalid scopes request no longer crashes the debug session.

    1.8.21release notes

  • The variable resolver skips uninitialized slots.

    1.8.21release notes

  • Fixes exceptions caused by annotations in Python 3.14.

    1.8.20release notes

  • Spaces in Python file paths are handled now too.

    1.8.19release notes

  • Fixed debug launch failures when the Python interpreter path contains spaces.

    1.8.18release notes