Debugging stopped working. (*** Do not know how to make File target `debug')

I’m facing the same issue for a second day now. The project was working before I changed to the different board.

I took every proposed steps multiple times. I’ve reinstalled PlatformIO, regenerated CMakeLists/Private.txt files, removed and cretaed .pio and .cache and reinitiated pio project with no luck.

This is my config file

[platformio]
build_cache_dir = C:\Users\Temur\CLionProjects\ChordWave\.cache

[env:espwroom32]
platform = espressif32
board = upesy_wroom
framework = arduino
lib_deps =
    Wire
    olikraus/U8g2@^2.34.18
    chris--a/Keypad@^3.1.1
    einararnason/ArduinoQueue@^1.2.5
monitor_speed = 115200

This is what I get when trying to build the project:

C:\Users\Temur\.platformio\penv\Scripts\platformio.exe -c clion run --target debug -e espwroom32
********************************************************************************
Obsolete PIO Core v6.1.8a1 is used (previous was 6.1.8b2)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/en/latest/core/installation/troubleshooting.html
********************************************************************************
Processing espwroom32 (platform: espressif32; board: upesy_wroom; framework: arduino)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/upesy_wroom.html
PLATFORM: Espressif 32 (6.3.2) > uPesy ESP32 Wroom DevKit
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-arduinoespressif32 @ 3.20009.0 (2.0.9) 
 - tool-esptoolpy @ 1.40501.0 (4.5.1) 
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 36 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Wire @ 2.0.0
|-- U8g2 @ 2.34.22
|-- Keypad @ 3.1.1
|-- ArduinoQueue @ 1.2.5
Building in release mode
*** Do not know how to make File target `debug' (C:\Users\Temur\CLionProjects\ChordWave\debug).  Stop.
========================== [FAILED] Took 2.09 seconds ==========================

Process finished with exit code 1

I have the most up to date version of both CLion and Plugin. What can I do to debug this issue further?