Debugging NodeJS Applications

6 באוקטובר 2015

With the introduction of Microsoft Visual Studio Code, debugging of NodeJS application is now a quite simple procedure to follow For example, suppose we have the following NodeJS super simple application console.log("Hello NodeJS"); and we would like to debug it (although there is no much to debug) Just open command line prompt. Switch to the directory containing your JavaScript file and type code . I am assuming that you already installed Visual Studio Code from here (very short installation). Now, Visual Studio Code should open and display the list of files under the current directory Double click the app.js file, set a breakpoint using F9 and press F5 The debug...
no comments