IntelliJ IDEA
 
Get IntelliJ IDEA

Run/Debug Configuration: NPM

Last modified: 12 November 2024

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

In this dialog, create configurations for running npm and Yarn scripts locally. "Locally" in the current context means that IntelliJ IDEA 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.