To connect() or not to connect() ...

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

To connect() or not to connect() ...

Post by davef » Tue May 04, 2021 10:39 pm

... unquote.

When developing a project that either is always connected to the internet or only connected when you want to be, how do you go about debugging?

I save all errors to a file and when connected it is easy to check that file using webREPL. However, when only connected when I need to be, then webREPL is out and using rshell to see what those errors are stops program execution. These methods eventually gets the job done, but are there more efficient ways to debug connected devices?.

Thanks.

Post Reply