
Here is a sample JavaScript file to test with which uses the Algorand Smart Contract Layer 1 (ASC1). The editor should pop up with the launch.json file.Ĭhange the name and program to match your code file to debug. VS Code stores debug configurations in a file called launch.json inside of the. Here the section is set to Node.js: Launch Program.įigure 4-2 - Select Node.js: Launch Program The steps are similar for all languages.ī) Select from the drop-down menu to Add Config (for the current folder)… In this step, setting up a debug session for a JavaScript code is covered for both a standalone code file as well as through a browser. Debugging JavaScript with VS Code samples Optionally, keyboard shortcuts and keymap extensions, which match other editors, are available here:Ĥ. Debugging with VS Codeįor general information on setting up debugging in VS Code see this: Filter the extensions list by typing your programming language of choice, such as JavaScript, and you will see all related extensions.įigure 2-1 JavaScript Marketplace Extensions 3.

Visual Studio Code includes built-in JavaScript IntelliSense, debugging, formatting, code navigation, refactorings, and many other advanced language features.
