Skip to main content

All Questions

Tagged with
0 votes
0 answers
90 views

Frozen Modules; Spyder

I'm using Spyder through WSL2 (miniconda installed through Linux) and the debugger isn't recognizing breakpoints. Upon starting a Spyder kernel in the Linux terminal with python -m spyder_kernels....
zaccandels's user avatar
2 votes
1 answer
740 views

Setting Debug points for a Chainlit application

I've built my first chainlit app. It's very simple and it runs like this. Starting backend: cd ./chainlit-backend chainlit run app.py -h Start the React app: cd ./frontend npm i npm run dev How do I ...
Holley's user avatar
  • 31
0 votes
0 answers
44 views

Best way to start a python app/script/file with another python script so that it doesn't hold up the file that runs it

I am working on a python editor/ide and I have been using os.startfile(file_path) to run the files but because this is like starting them using python.exe the console closes as soon as the file ...
TheSuperNova's user avatar
1 vote
2 answers
194 views

VSCode not debugging into third side packages

New to vscode and it seems fine, just that it doesn't seem to allow debugging into python packages I didn't write (not under the project folder?), neither does it allow me to add breakpoints to code ...
Veltzer Doron's user avatar
4 votes
0 answers
238 views

Is there any way I could debug Python and C++ together?

I was doing a project that is mainly using C++ with Python embedded on it using pybind11, and this project was designed to run in Linux environment. Currently I was using Visual Studio Code, as it ...
Zhe Yau Ng's user avatar
0 votes
2 answers
952 views

How to restart python code from any desired point in the code after making a change during debugging?

I'm debugging a python code in visual studio code. I have employed breakpoints. I got an error and corrected it. How can I restart from that error point? (I mean, how can I avoid re-running everything ...
Akshara Soman's user avatar
-1 votes
1 answer
275 views

Where do I see existing variables after executing my script?

Where do I see existing variables after executing my script? I have become accustomed to having a panel to see what existing variables I have and what their types and contents are in MATLAB and Spyder;...
Internet User's user avatar
0 votes
1 answer
56 views

How to make Pycharm's debugger output fuller?

I remember good old days, when I used to debug matlab. Even when I had a massive array or table, when I wanted it to appear in the debugger's console, I got the entire array. Now in Pycharm (Python) ...
user46147's user avatar
  • 234
0 votes
3 answers
970 views

views.py files not recognised as Python files in Pycharm

I am encountering problems while coding Django using Pycharm... As you could see from the picture, for unknown reasons my Python file were recognised as text files... Even if there are coloring, the ...
Robo's user avatar
  • 106
1 vote
1 answer
381 views

Skipping lines while debugging Python with PyCharm

In some point of debugging PyCharm, it would be useful to me to skip some lines, e.g. some lines that slows terribly my code... but I haven't found anything about this. Does it exists an option in ...
Lore's user avatar
  • 1,984
16 votes
5 answers
16k views

Debugging Airflow Tasks with IDE tools?

My Airflow DAGs mainly consist of PythonOperators, and I would like to use my Python IDEs debug tools to develop python "inside" airflow. - I rely on Airflow's database connectors, which I think would ...
Mathias Andersen's user avatar
1 vote
2 answers
413 views

PyCharm (Python 3.x) modify a class without re-running the script

I am using PyCharm Pro 2018 and just made the switch to it recently (from Spyder). The first part of my script involves loading a lot of data and takes about 1-2 minutes. On completion or error of ...
Newti's user avatar
  • 111
0 votes
1 answer
38 views

Debugging in Parts using PyCharm?

Is there a way to debug a piece of code in PyCharm in parts. For example in the following code, foo1() foo2() foo3() foo1() takes a long time to execute. Since I need to debug foo2(), I want to ...
user3079474's user avatar
  • 1,803
0 votes
1 answer
534 views

Running Python in Visual Studio 2017, output not showing correctly?

I was using a different IDE for running Python scripts, but I would like to switch over to Visual Studio. When I try testing simple scripts that work in the simple IDE, I can't figure out how to get ...
user10090912's user avatar
0 votes
1 answer
1k views

Debugging in Python: IDE that shows you class instances live update

Recently I was debugging some code in Python. As I stepped through my lines of code, I kept my eye on the variable explorer in my IDE (Spyder). I noticed that when it came to looking at instances of a ...
Eric Auld's user avatar
  • 1,324

15 30 50 per page