Monitor doesnt show anything after uploading

[env:kc868-A16]

platform = espressif32

board = esp32-s3-devkitc-1

framework = espidf

upload_port = COM10

upload_speed = 115200

monitor_port = COM10

monitor_speed = 115200

monitor_dtr = 0

monitor_rts = 0

I am using kincony 868-a16 board, I wrote simple code in c++, that just counts, after uploading, I tried to monitor, but it doesnt show the information

If this board is using the native USB port of the ESP32 you need to add

build_flags =
  -D ARDUINO_USB_CDC_ON_BOOT=1

See ESP32-S3 native USB interface and Serial Monitor missing first messages - #10 by sivar2311

if I use idf instead of arduino I can use it?

Sorry, I didn’t notice espidf
The setting will only work for framework=arduino.

This works out of the box for an esp32-s3-devkitc-1:

[env:esp32-s3-devkitc-1]
platform = espressif32 @ 6.12.0
board = esp32-s3-devkitc-1
framework = espidf
monitor_speed = 115200
#include <stdio.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

void app_main(void) {
    for (;;) {
        printf("Hello world!\n");
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
}