Error rst:0x10 (RTCWDT_RTC_RESET) when use Core ESP32 v 1.0.4 with NodeMCU-32S?

Hi All,

I am new with ESP32. I have some problem about using NodeMCU-32S.

I test my NodeMCU-32S by using basic example sourcecode "Debounce" in Arduino IDE version 1.8.13 together Core ESP32 version 1.0.4 (see in Board Manager Arduino IDE).

In sourcecode, I use buttonPin "36" for INPUT and ledPin "23" for OUTPUT. I upload sourcecode into my NodeMCU-32S. The upload looks normal.

When I test on my NodeMCU-32S by push at button, but LED does not light up. (not toggle from LOW to HIGH or HIGH to LOW).

And then I use Serial Monotor for debugging. I see below message loop everytime.

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
ets Jun 8 2016 00:22:57

How can I solve this problem?