You can debug JavaScript files by right-clicking a file and selecting Debug from the shortcut menu. If the package.json in the folder specifies a main element, the Debug command will be available in the right-click shortcut menu for package.json.Ĭlicking this will start node.exe with the specified script as its argument. This is a great way to execute build or run scripts. These scripts will use the version of Node.js available on the PATH environment variable. In addition, the menu also allows you to run scripts defined in the scripts element in package.json. Manage npm packages when using a project file. In the shortcut menu, you can manage the packages installed by npm in the same way that you ![]() ![]() If the folder you open contains a package.json file, you can right-click package.json to show a context menu (shortcut menu) specific to npm. ![]() The Visual Studio Node.js development workload must be installed. Many of the features described in this article, including npm integration, require Visual Studio 2017 version 15.8 or later versions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |