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

Debugging plain JavaScript code without web project

$
0
0

I have a JavaScript file that I'd like to edit and debug.

The code isn't DOM/browser/web specific.

Can I use VS Code to run and debug JavaScript without a web project like Node or ASP.NET? If so, how? Perhaps VS Code assumes it'll have a web server like Node to attach and debug

How should I modify my launch.json if necessary?

Loading a .js file and hitting F5 results in

Connection Failed

OpenDebug process has terminated unexpectedly

enter image description here

enter image description here


Viewing all articles
Browse latest Browse all 98994

Latest Images

Trending Articles



Latest Images

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