# Debug Output Configuration in Arduino IDE
## ESP32
1. Select appropriate (USB-)serial port for your board

**or**

2. Select desired debug level

This passes the define `CORE_DEBUG_LEVEL`to the compiler accordingly.
Refer to the following for some background information
* https://thingpulse.com/esp32-logging/
* https://www.mischianti.org/2020/09/20/esp32-manage-multiple-serial-and-logging-for-debugging-3/
* https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-log.h
## ESP8266
1. Select appropriate (USB-)serial port for your board

2. Select the appropriate Debug Port (MCU serial interface) of your board

3. If needed, change the debug level in `WeatherSensorCfg.h`
```
#define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_VERBOSE
```
(Options: `ARDUHAL_LOG_LEVEL_