Selecting debug environment

I have multiple environments in my platformio.ini file. How do I select which one I want to debug? On “Debug” tab I see only two launch configurations: “PIO Debug” and “PIO Debug (skip Pre-Debug)”.

Currently, we select the first environment from Redirecting...

If this option is not configured, we use the first [env] from a project platformio.ini.

Please file a feature request Issues · platformio/platformio-vscode-ide · GitHub. We will add support for other envs.