Code compiles and uploads but does not run

I also added board_build.flash_mode = dout to platformio.ini as per the thread here: Problem upload code to ESP-01S - #2 by pfeerick