Skip to main content

All Questions

Tagged with
3 votes
3 answers
847 views

How to avoid "object has no attribute 'isAlive'" error while debugging in IntelliJ using Python plugin version 241.18034.62

I am writing a simple project in python. My version of python is: 3.13.1 . I am using IntelliJ and Python plugin with version: 241.18034.62. I would like to debug my project but when I try to debug I ...
fascynacja's user avatar
  • 2,970
0 votes
0 answers
25 views

Unable to use CrawlerProcess to run a spider as a script to debug it at breakpoints

Description I was trying to debug my scrapy spider by using CrawlerProcess but I keep facing this problem Steps to Reproduce I made a python file by the name of runner.py (its in the same directory ...
Rishav Dhariwal's user avatar
0 votes
1 answer
259 views

failed to create task for container: failed to create shim task - PyCharm Interpreter Creation

I'm currently trying to debug my containerized Django application using this tutorial. But unfortunately, I receive the attached error, when I try to create a new Python interpreter. This video shows ...
Leo Gall's user avatar
1 vote
0 answers
77 views

Disable stoping the container after stop debuging in Pycharm

I set up the debugging for my Django app that is inside the docker container in PyCharm. I did it with: a new interpreter via Docker Compose created the new run configuration Django Server. My ...
Marko Zadravec's user avatar
0 votes
0 answers
17 views

Pycharm debug opens __jb_pytest_runner.py instead of the required test_something.py python file

I have a cloned pytest project, I need to debug some certain file, but Pycharm debug opens __jb_pytest_runner.py instead of the required test_something.py python file.
bananacatsky's user avatar
0 votes
1 answer
66 views

Migration of Workflow from Spyder IDE to PyCharm: Code snippet execution and variable explorer

I currently use the Spyder IDE and have often thought about migrating to PyCharm but there is one feature I often use which makes it impossible for me to switch. I very often use Spyders Code Snippet ...
Ohumeronen's user avatar
  • 2,096
2 votes
0 answers
173 views

pycharm debugger too slow on every "step over"

I am using pycharm to debug a django web app. When I click "step over" to direct debugger to the next line, around 50-100 background jobs launches in pycharm (as shown in the image which is ...
Saleh's user avatar
  • 1,951
0 votes
0 answers
40 views

How to use Pycharm's debugger while running pyautogui script?

I have a Python script that uses pyautogui to control the mouse and perform some tasks on my computer. However there is something wrong and I would like to debug the code. I'm trying to use Pycharm's ...
Aprender Coisas's user avatar
1 vote
0 answers
125 views

Why does importing FastAPI TestClient into my PyCharm debugger session take 24 seconds?

Using PyCharm Pro, importing FastAPI TestClient takes 2 seconds in run mode and 23 in debug. I don't know if this is PyCharm, FastAPI, Starlette, or basically where I start to reduce the time. Here is ...
prosody's user avatar
  • 696
0 votes
0 answers
48 views

Adding 'pass' instruction breaks PyCharm iterating through a set

Found a strange behaviour with PyCharm in debugging mode. Suppose we have a code: a = {'a', 'b', 'c'} for el in a: print(el) pass If you but a break on a 'pass' line and try the code in ...
Vlad's user avatar
  • 559
1 vote
1 answer
145 views

Display of large 1D numpy array in Pycharm debugger

I noticed something while debugging a Python program in Pycharm. I work with a large numpy 1D array of shape (n,). When looking at it via the variables tab in the PyCharm debugger, the values are ...
seb's user avatar
  • 147
5 votes
1 answer
558 views

Pycharm debugger console not autocompleting variables created in the debugger console

I have just upgraded to PyCharm 2023.3.3 community edition and am experiencing a weird issue that hasn't occurred before. System is Windows 10 64 bit, and this has worked fine on this machine before. ...
Sighonide's user avatar
  • 684
2 votes
1 answer
397 views

Running Python Script in PyCharm Debugger with `proxychains`

I am working with PyCharm IDE and have encountered an issue where I need to run my Python script within both the PyCharm internal debugger and under proxychains. The reason for using proxychains is ...
cridnirk's user avatar
  • 290
1 vote
2 answers
462 views

Check if program runs in Debug mode in PyCharm 2023

I use the PyCharm IDE for Python programming. I previously used the methods described in Check if program runs in Debug mode to check whether I'm in debugging mode or not when I run my program. ...
Peter Villano's user avatar
0 votes
2 answers
51 views

Adding extra words to the module name when running the debugger

I started studying my first library, fastapi in python and was faced with the fact that when I try to run this code in pycharm through the debugger, I get an error that the module name, Pydantic, was ...
Semyon Mazepin's user avatar

15 30 50 per page
1
2 3 4 5
25