node.js - Visual studio code nodejs debug failure - request 'launch': cannot launch -
on windows 10 nodejs , visualstudio code installed, can't debug vs code sample code microsoft- https://code.visualstudio.com/docs/runtimes/nodejs
the error "request 'launch': cannot launch target(reason:spawn node enoent)", looks configuration issue, , checked nodejs did install under c:\program files\nodejs.
i saw 1 same question on stackoverflow - visual studio code nodejs request 'launch': cannot launch target (reason: spawn node enoent) , there's no answer, have suggestion on this? in advance!
i pretty sure because node has not been added path. say, can't type "node" anyway in command line , have correctly open node installation.
double check node correctly added path first, try again.
Comments
Post a Comment