Run without debugging complains

That is a limitation as explained it

Uploading the code is done via the serial boot loader and the esptool, triggerable as always from the Upload task. PlatformIO IDE for VSCode — PlatformIO latest documentation

1 Like