🌐
GitHub
github.com › microsoft › debugpy
GitHub - microsoft/debugpy: An implementation of the Debug Adapter Protocol for Python · GitHub
An implementation of the Debug Adapter Protocol for Python - microsoft/debugpy
Starred by 2.4K users
Forked by 191 users
Languages   Python 92.8% | Cython 2.9% | Shell 1.8% | C++ 1.5% | Roff 0.8% | Perl 0.1%
🌐
PyPI
pypi.org › project › debugpy
debugpy · PyPI
An implementation of the Debug Adapter Protocol for Python
      » pip install debugpy
    
Published   Jan 29, 2026
Version   1.8.20
Discussions

Trying to understand debugpy
Debugpy was written by Microsoft so they intended for you to use it with vscode but you can use it another IDE like pycharm. You need to have the configs set to attach on the matching host and port. Here are the docs with using the debugpy cli with vscode. It’s much easier to use the gui in vscode to run the commands for you instead. Where the request config option would represent the —listen or —connect flag when you click the run debug button. More on reddit.com
🌐 r/learnpython
2
2
September 17, 2025
debugpy --pid flag fails to start the debug server in attached process
I noticed that VSCode times out when I try to debug a process by its pid. I thought it must be using the debugpy --pid flag to start the debug server, and noticed it was failing to call dlopen() an... More on github.com
🌐 github.com
13
October 18, 2021
Python Remote Debugging Not working with 3.9.3
Launch the script with debugpy: python3 -mdebugpy --listen 5678 test.py. More on github.com
🌐 github.com
5
April 3, 2021
Topics tagged extensions
Topics tagged extensions More on forum.cursor.com
🌐 forum.cursor.com
🌐
Visual Studio Code
code.visualstudio.com › docs › python › debugging
Python debugging in VS Code
November 3, 2021 - The Python Debugger extension is automatically installed along with the Python extension for VS Code. It offers debugging features with debugpy for several types of Python applications, including scripts, web apps, remote processes and more.
🌐
Amit Chaudhary
amitness.com › notes › debugpy
How to use debugpy in VSCode
April 2, 2025 - The tool debugpy can be used to start a debugger either in a local virtual environment, a Docker container or on a remote server and then can be attached to set breakpoints and debug a script from within your local VSCode.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Python Debugger - Visual Studio Marketplace
Extension for Visual Studio Code - Python Debugger extension using debugpy.
🌐
Reddit
reddit.com › r/learnpython › trying to understand debugpy
r/learnpython on Reddit: Trying to understand debugpy
September 17, 2025 -

From what I gather from the documentation it does not seem that debugpy includes a DAP client implementation, only the server portion, correct?

So what does the --connect option in debugpy actually do?

The documentation says:

--connect

Tells the debug server to connect to a client that is waiting for incoming connections at the specified address and port. The corresponding debug configuration should use "listen" with matching "host" and "port" entries.

It almost seems like this should provide a client to the server, but from trying it out in the command line, I cannot see that this is the case.

🌐
GitHub
github.com › microsoft › debugpy › issues
microsoft/debugpy
An implementation of the Debug Adapter Protocol for Python - microsoft/debugpy
Author   microsoft
Find elsewhere
🌐
GitHub
github.com › microsoft › debugpy › releases
Releases · microsoft/debugpy
An implementation of the Debug Adapter Protocol for Python - Releases · microsoft/debugpy
Author   microsoft
🌐
GitHub
github.com › microsoft › debugpy › issues › 762
debugpy --pid flag fails to start the debug server in attached process · Issue #762 · microsoft/debugpy
October 18, 2021 - I noticed that VSCode times out when I try to debug a process by its pid. I thought it must be using the debugpy --pid flag to start the debug server, and noticed it was failing to call dlopen() and then DoAttach(). $ python3 -m debugpy ...
Author   OEP
🌐
GitHub
github.com › microsoft › debugpy › issues › 580
Python Remote Debugging Not working with 3.9.3 · Issue #580 · microsoft/debugpy
April 3, 2021 - Launch the script with debugpy: python3 -mdebugpy --listen 5678 test.py.
Author   quoctruong
🌐
GitHub
github.com › topics › debugpy
debugpy · GitHub Topics · GitHub
Finds and runs debugpy for VS Code "remote attach" command line debugging.
🌐
GitHub
github.com › microsoft › debugpy › wiki › Ramping-up-on-debugpy
Ramping up on debugpy
An implementation of the Debug Adapter Protocol for Python - microsoft/debugpy
Author   microsoft
🌐
GitHub
github.com › microsoft › debugpy › issues › 105
debugpy over ssh question · Issue #105 · microsoft/debugpy
April 8, 2020 - Recently the ms-python vscode extension began using debugpy over the older ptvsd. With this, it's using debugpy.launcher rather than the extensions older ptvsd_launcher.py script. I have a setu...
Author   ddurham2
🌐
GitHub
gist.github.com › kerbrose › e646aaf9daece42b46091e2ca0eb55d0
switching to debugpy · GitHub
hi can you help me please I am running odoo with docker-compose, is there a way to add the commands in the yml file? I am currently installing pip3 install debugpy with docker exec and then run the command python3 -m debugpy --listen 0.0.0.0:3001 /usr/bin/odoo -w odoo -r odoo --db_host db -p 5432
🌐
GitHub
github.com › microsoft › debugpy › issues › 1726
debugpy not supporting Python 3.7 and failing with import ...
October 2, 2024 - Traceback (most recent call last): File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/glue_user/.vscode-server/extensions/ms-python.debugpy-2024.12.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py", line 69, in <module> from debugpy.server import cli File "/home/glue_user/.vscode-server/extensions/ms-python.debugpy-2024.12.0-linux-x64/bundled/libs/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/
Author   DikshaMakkar