WebStorm
 
Get WebStorm

Run/Debug Configuration: NPM

Last modified: 10 January 2025

Create: Run | Edit Configurations | Add New Configuration | NPM

This page describes the configuration-specific items as well as options that are common for all run/debug configurations. For more information about using this configuration, refer to npm, pnpm, and Yarn.

In this dialog, create configurations for running npm and Yarn scripts locally. "Locally" in the current context means that WebStorm itself starts Node.js installed on your computer, whereupon initiates script execution.

Learn more from npm, pnpm, and Yarn.

If a script launches an application in the development mode, you can modify the configuration, so it also starts a debugging session. To do that, go to the Browser / Live Edit tab and specify there the URL address at which the application will run. Learn more from Run and debug an Angular application with a single npm run/debug configuration, Run and debug a Vue.js application with a single npm run/debug configuration, and Run and debug a Vite application with a single npm run/debug configuration.