CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Run/Debug Configuration: NPM

Last modified: 28 June 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 CLion 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.