In this Discussion

ESP32 Console Window feature request

It would be nice to leave the Console window open, instead of closing it, and re-opening it each time when you uplink your code. When you uplink, it should remain open, disconnect itself from the com port, and when the uplink is done it should re-connect automatically.