Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97371

How can I get VSCode to debug a node file using 'cjs' file extension?

$
0
0

I'm using 'cjs' for CommonJS source ('mjs' for es modules).

VSCode debugger fails to run the 'cjs' file with: "Cannot launch program... setting the 'outFiles' attribute might help."

VSCode debug works it I change file extension to 'js'.enter image description here


Viewing all articles
Browse latest Browse all 97371

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>