This video is a step by step guide to debugging runtime errors with Arduino and esp development boards using
serial communications.
To learn how to setup the Arduino IDE for esp boards see my video Setting up the Arduino IDE for the ESP32 • Arduino and ESP32