# debugpy

> Microsoft's Debug Adapter Protocol implementation for Python

Source: https://talira.ai/catalog/debugpy-dkv9563v
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [developer tools / debugging](https://talira.ai/categories/developer-tools/debugging), [languages / python](https://talira.ai/categories/languages/python)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Supports: [DAP](https://talira.ai/standards/dap.md)[^1]
- Backed by: [Microsoft](https://talira.ai/orgs/microsoft.md)
- Funding: public company (NASDAQ:MSFT)[^3]

debugpy is Microsoft's implementation of the Debug Adapter Protocol for Python 3, so any DAP client (an editor or IDE) can debug Python code. Run a script or module under it with `python -m debugpy --listen <port>`, optionally waiting for the client to attach, attach to a running process by its ID, or call `debugpy.listen()` from your own code; listening on a public interface lets you debug from another machine.

## Links

- GitHub: https://github.com/microsoft/debugpy
- Docs: https://github.com/microsoft/debugpy/wiki

## Problems it solves

- debug a Python script from my editor
- attach a debugger to a Python process running in a container
- set breakpoints in Python code running on a remote machine

## Features

- Debug Adapter Protocol server for Python 3
- run scripts or modules under the debugger from the command line
- attach to a running process
- wait for the client before running code
- remote debugging over a network interface
- debugpy.listen() API to start it from code

## Limitations

- Anyone who can connect to its listening port can run arbitrary code in the debugged process, so expose it only on secure networks.[^1]

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.69, adoption 0.68, momentum 0.45, community 0.79, backing 0.55, extensibility 0.00.

- last commit 5 days ago
- 14 commits in the last 90 days
- latest release v1.8.22 2 months ago
- 2.5k GitHub stars
- 91 contributors
- backed by Microsoft
- funding: public company (NASDAQ:MSFT)

## Alternatives

- [Python Debugger](https://talira.ai/catalog/python-debugger-9de1dqp1.md): Python debugging with debugpy for Visual Studio Code
- [Delve](https://talira.ai/catalog/delve-jqtb6pnd.md): The debugger for the Go programming language
- [CodeLLDB](https://talira.ai/catalog/codelldb-fdcy7nq7.md): A VS Code debugger for native code, powered by LLDB
- [js-debug](https://talira.ai/catalog/js-debug-49z3e5z5.md): Microsoft's JavaScript debugger for Node.js and browsers, built into VS Code and available as a DAP server
- [Debugger for Java](https://talira.ai/catalog/debugger-for-java-zw5av9ys.md): Microsoft's Java debugger for VS Code

## Sources

[^1]: https://github.com/microsoft/debugpy/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/microsoft/debugpy/blob/main/LICENSE (checked 29 Nov 2026)
[^3]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
