Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
64 views

I have an object which has multiple properties that when accesses query a SQL database. When I debug a region where such an object is present, e.g. in VSC with debugpy, all these attributes are ...
Daraan's user avatar
  • 5,320
1 vote
0 answers
92 views

I'm experiencing an issue where the parent Python process terminates unexpectedly when debugging, but only when a child process is sent SIGTERM. The same code works perfectly when run normally (...
Skyman2413's user avatar
3 votes
1 answer
270 views

I’m trying to remote-debug a Python service that runs inside a Docker container using PyCharm 2025.2.3 on macOS. I do have an active license, but the IDE no longer shows any obvious way to attach to a ...
Joy's user avatar
  • 4,593
1 vote
0 answers
100 views

Problem When launching a Python debug session in VSCode using debugpy, I see three commands spawned in the integrated terminal: devbox shell - executes automatically ✓ source /path/to/project/.venv/...
kennysliding's user avatar
  • 3,005
0 votes
0 answers
220 views

I’m trying to debug my Python code with debugpy in VS Code on WSL (Ubuntu). Environment: Python: 3.12.3 (venv) vLLM: 0.10.1.1+cpu debugpy: ms-python.debugpy-2025.10.0 (from VS Code extension) ...
R T's user avatar
  • 9
0 votes
1 answer
832 views

I've tried many tutorial videos to setup nvim-dap but everyone set it up using a different method which doesn't work for me. I am new to neovim. I setup most of the stuff like lsp and so but can't ...
Jakob's user avatar
  • 1
3 votes
1 answer
196 views

Problem I'm encountering an issue where launching PowerShell via Python’s subprocess.Popen() works as expected during normal execution, but in debug mode (using debugpy/cursor) key environment ...
KLc3088's user avatar
  • 157
0 votes
1 answer
614 views

Recently my VSCode is out of work. When I choose Python Debugger: Debug Python File from the upper-right drop-down menu, the TERMINAL panel will show the command line of starting Python debugger like: ...
Cuteufo's user avatar
  • 575
0 votes
2 answers
950 views

Good morning. Since yesterday I can't seem to connect to my debugger using debugpy. I'm getting a ECONNREFUSED error, I haven't really changed anything and can't seem to connect to my debugger. ...
Luís Henrique Martins's user avatar
2 votes
0 answers
291 views

I am running a debugpy listener inside a Docker container. I am using docker compose to run the containers. This is my config import debugpy debugpy.listen(("0.0.0.0", 5680)) _logger.info(&...
Niko's user avatar
  • 890
1 vote
0 answers
182 views

I have a monorepo project built with Bazel and I'm trying to integrate VSCode debuggers directly with Python targets I'm running. There is a similar question that helps solve the problem here: How to ...
Michael Becker's user avatar
0 votes
2 answers
623 views

I’m running into an issue when trying to debug my Python tests in VSCode after updating to the latest version (1.93.0). Until a couple of days ago, everything was working fine, but now I keep getting ...
Irene De La Fuente's user avatar
2 votes
0 answers
200 views

I am developing a blender addon and decided to use VS Code with the blender development and python extensions. While working with blender 4.1 I encountered no issues, but since the update(4.2) when I ...
Cristian Cutite's user avatar
-1 votes
1 answer
426 views

I have the following setup: Python project + pantsbuild + vscode. I would like to add VS Code breakpoints in my unit tests (unittest) while using the pants test command. I can already set breakpoints ...
julianofischer's user avatar
0 votes
1 answer
768 views

When trying to debug a Django management command in VSCode, I encountered an issue where breakpoints were not being hit when using the 'debugpy' configuration type. However, when I switched to the '...
Erfan Ghofrani's user avatar
0 votes
3 answers
422 views

Using the following launch.json, I'm able to hit breakpoints in the module level code, but not in route-handlers. launch configuration (the last three lines may not be needed, but are just some things ...
Cyberwiz's user avatar
  • 11.7k
0 votes
1 answer
127 views

I am trying to debug a small python server using Flask. I have tried many different permutations of launch.json. What happens is that the main module is started and then in a subprocess running ms-...
PJT's user avatar
  • 21
2 votes
0 answers
105 views

I am trying to develop a package that I have installed with pip install -e . . The project structure is the following: mypackage ├── build │   └── mypackage-0.8.83.dist-info │   └── licenses ├── ...
Barzi2001's user avatar
  • 1,886
3 votes
1 answer
312 views

I'm using VSCode on Windows, with the GitBash as integrated terminal. When I launch the Python Debugger with default configurations, it works fine, and I get this command executed on the terminal: /...
Erico's user avatar
  • 721
0 votes
1 answer
426 views

I setup a while ago debugging for a small python program, which I developed using docker. So I used Python: Remote Attach, as shown in the official documentation. This worked for me. Later I started ...
peetcreative's user avatar
3 votes
2 answers
3k views

I am trying to get data from an endpoint on a website using Python, here is my code: from aiohttp import ClientSession as session async def get_api_data(api_url): try: async with session....
Abdulrahman Hocaoglu's user avatar
-1 votes
1 answer
684 views

I'm trying to use my external terminal on my local computer to as the console in a debugging session for Python running on a remote machine. I've successfully attached to a debugpy invocation I ran ...
Jon Cohen's user avatar
1 vote
1 answer
620 views

Given a simple python program like import numpy as np my_list = [1,2,3,4,5] my_array = np.array(my_list) I can now use break points and the debugger to watch the variables I can also expand them ...
Akut Luna's user avatar
  • 432
0 votes
0 answers
68 views

I would like to ask if it exists any possibility to send locally stored Python code (being edited, for instance, in Visual Studio Code) to be run or debugged in a remote computer, without the ...
Marc's user avatar
  • 21
0 votes
2 answers
872 views

I've seen this post, but I don't know how this could help me. What I want to do is to start the debugger within a Rosetta terminal. What I currently do, is start the script in debug mode till it fails ...
gernophil's user avatar
  • 647
3 votes
2 answers
3k views

I have a problem using debugpy with vscode on Windows with the repository on a local server. I have a dockerized django app with the following dockerfile and docker-compose: FROM python:3.6.15-slim-...
NICOLÁS ANTONIO PINO LEVA's user avatar
3 votes
1 answer
289 views

I have installed neovim as my IDE and i configured it with this video "the perfect neovim setup with python" from 'Dreams of code" but the when i enter 'space+dpr' i have the messege &...
RayaneQH's user avatar
2 votes
0 answers
364 views

I'm trying to use debugpy with a dockerized django app - it connects momentarily then disconnects - I'm not sure why docker-compose.backend.yml: (the uplifty service below is the django server I want ...
Ryan's user avatar
  • 489
0 votes
1 answer
1k views

I'm facing a very annoying issue with Visual Studio 2022. Here's how to replicate it. Folder contents: test-debugpy-issue | test-debugpy-issue.sln | \---test-debugpy-issue cli.py ...
user32882's user avatar
  • 6,125
2 votes
0 answers
1k views

Other threads have suggested editing the launch.json debugpy configuration to edit the way cluttering variables are presented by adding variablePresentation: { "configurations": [ ...
Alexander Zagajewski's user avatar
0 votes
1 answer
1k views

I've tried everything except what works. Nothing gets my vscode debugger to attach to any breakpoint. Here is my launch.json: { // Use IntelliSense to learn about possible attributes. // Hover to ...
AlxVallejo's user avatar
  • 3,258
1 vote
0 answers
379 views

debugpy usually pauses the execution from the begining and waits for client to attach. I want it to do that only and if it hits an exception, otherwise continue the execution. I'm trying from command ...
Anonymous Bot's user avatar
0 votes
0 answers
50 views

I have some debugging code (involving debugpy.connect()) in a custom package, which is expected to raise an exception if the debug server isn't currently launched. The thing is, that code is wrapped ...
LoneCodeRanger's user avatar
0 votes
1 answer
503 views

I am trying to debug Jupyter notebooks (and also cells in .py files demarked with #%%) but it does not work. After a while the IDE pop up a note Pip module Unable to parse debugpy output,.. Debugging &...
evod's user avatar
  • 177
1 vote
1 answer
2k views

Background: We have Sphinx, a Python application for generating documentation, running inside a Docker Container. I'm running into an issue with converting drawio files. When executed in our GitLab ...
Enok82's user avatar
  • 162
4 votes
1 answer
2k views

I am using Debugpy to run a debug server from the Blender Python scripting environment, and I have successfully attached and debugged with VS Code. However, I cannot figure out a way to break the ...
SandPiper's user avatar
  • 2,924