make sure node.js is installed and in your path or set the runtimeexecutable in your launch.json code example
Example 1: Can't find Node.js binary "node": path does not exist. Make sure Node.js is installed and in your PATH, or set the "runtimeExecutable" in your launch.json
"runtimeExecutable": "/usr/local/bin/node"
Example 2: why vs code is not running nodemon
in your terminal write : 'npm i --save nodemon' without coataions to install nodemon in VS Code then after installation write 'nodemon yourServerFileName.js' without coatations. This will solve your issue