Python Debugger Running Slow

Apologies you find this confusing, let me clarify for you.

when I run python -m pdb myscript.py
single step using ‘n’ and import pandas as pd returns immediately (sub 1 second)

Single step the same code in Komodo IDE and it has taken between 4 and 10 seconds to return from the import pandas as pd command. What have noticed that this can get worse with with time.

I have tried the same with a some other, Python only, Community Edition IDE and it is sub second.

For your information, my python environment is Anaconda3 and I running on an imac27 5K with 32gb memory 1TB Fusion drive.

I hope this clarifies the issue for you.

thank you for your support.

I’ve never noticed any slowdown when debugging Python, though I’ve never used Anaconda, perhaps that has something to do with it?

What debugging method are you using? Ie. are you using remote debugging or do you just start debugging by pressing the debug button?