Embedded python: How to debug code in an isolated way

Chris Angelico rosuav at gmail.com
Sat Aug 22 16:57:53 EDT 2020


On Sun, Aug 23, 2020 at 5:51 AM Eko palypse <ekopalypse at gmail.com> wrote:
> So the question is, what do I need to read/learn/understand in order to solve this issue?
> Or in other words, how can I debug my script in an isolated environment.

I'd go for the old standby - IIDPIO: If In Doubt, Print It Out!
Instead of trying to use a debug harness, just run your code normally,
and print out whatever you think might be of interest. If you don't
have a console, well, that would be the first thing to do - you
*always* need a console.

ChrisA


More information about the Python-list mailing list