About 737,000 results
Open links in new tab
  1. node.js - Run JavaScript in Visual Studio Code - Stack Overflow

    Aug 3, 2015 · Follow these steps in VS code. [performed in windows os] Create new file Write javascript codes in it Save file as filename.js Go to Debugging menu (in latest version it is …

  2. How do I run JavaScript code in Visual Studio Code?

    Mar 3, 2021 · Create a new folder and open it in VS Code. then write the javascript code and name it with extension .js After completing the code save the changes that you made

  3. Is there a way to run javascript in VSCode without Node.js?

    Sep 16, 2023 · The short answer would be no (in VS Code). Javascript needs a runtime environment to be executed, like Node JS, or V8 engine in Chrome Browser. Alternative …

  4. Debug single javascript file in “Visual Studio Code”

    Nov 7, 2017 · 5 You can run your current file in a Node environment without creating a launch.json. With the file you want to debug open, go to the debugger panel, click the green …

  5. How to run html & javascript in VS Code - Stack Overflow

    Dec 28, 2020 · How to run html & javascript in VS Code Asked 4 years, 9 months ago Modified 4 years, 9 months ago Viewed 13k times

  6. How to run JavaScript code in VSCode's terminal? [duplicate]

    Feb 26, 2020 · I want to test small snippets of JavaScript code in VSCode's terminal before inserting them in my project. I want something similar to Chrome's Devtools console.

  7. javascript - Debugging current file in VS Code - Stack Overflow

    96 I am writing javascript and am currently doing simple exercises/programs. At times, I wish to run my file for testing purposes. I am aware I could create an HTML file and do this within the …

  8. Getting "'node' is not recognized" error when running JavaScript …

    Jan 4, 2021 · After I installed Code Runner in VS Code then used it to run my JS code, I'm getting this runtime error: 'node' is not recognized as an internal or external command, operable …

  9. VSCode: Cannot Seem to Find Run Button to Run Javascript Code

    May 6, 2019 · Check that you have the Code Runner extension enabled. The Extensions marketplace is accessible through the fifth button down on the toolbar. If it is installed and …

  10. How to Debug JavaScript in Visual Studio Code with live-server …

    Oct 26, 2017 · 19 Trying to debug a simple HTML and JavaScript project in Visual Studio Code. In the VS Code terminal window, 'live-server' is used to launch the 'index.html'. In VS Code, the …