Cannot debug esp32 Error: spawn platformio ENOENT

Hi All

im trying to get the esp32prog working and i have also tried getting the jlink working

after a lot of frustration i found this message in the debug window

“Could not start debugger process > Error: spawn platformio ENOENT”

what should i do next