Esphome platformio tutorial. Use the PlatformIO Debugger on the ESP32 Using an ESP-prog.