Enter COM after uploading

I have 2 x ESP32’s using COM6 and COM7.

Each time I download it ask me a question on what COM port I want to use, ie,
Enter port index or full name:

I’m debugging an issue on COM6 ESP. So each time I enter a 3.
Can I have this temporarily auto entered?


Via the upload_port and monitor_port you are able to directly set the COM port that is used for uploading & monitoring, per environment.