I can build it successfully during debug. But then it got an error in debug console, and the debug just cannot continue.
I already tried to delete .vscode
and .pio
. Sometimes the command can be found after I doing that. But today it just doesnt work anymore.
Btw I use windows 10 and I also add path in system variable, so I can globally use platformio command