How do I debug main.py file at runtime. I am in a situation where I have boot.py and main.py on ESP32 running micropython.
When the board starts up boot.py works perfectly because ESP32 connects to WIFI. But main.py which has application code doesn't run (my assumption). If I run main.py manually with following command it works, but not by the system itself.
Code: Select all
ampy -p /dev/tty.SLAB_USBtoUART run main.py
Thanks