I start code from an IDF command prompt, so all environment variables are correct ( is there another way to start code directly ? )
From the VS Code terminal esptool works:
esptool version
esptool.py v3.0
3.0
However when selecting "flash device" : "Make sure you have the esptool.py installed and set in $PATH with proper permission"
I could not find any setting in VS Code related to esptool.
Where to look ?