About the diode for the Xiao ESP32-S3's voltage input

If there is no connection to USB, I believe the diode on the 5V pin can be omitted.
If you don’t use USB, how would you debug and upload?