How to disable upload and debug?

I develop for ESP32 with VS Code.
I want only to build the binaries for upload with OTA.
Now I get always Error Messages in the DEBUG-CONSOLE.

Thank you for advice

Now I opened the PlatformIO tool window and double-clicked Build, which makes no attempts to upload the binary.