Add Run/Debug for framework

I'd like to add Run and Debug for BlitzJS (React - NextJS) framework. It's quite like MeteorJS that it has its own command and .cmd file to start the development server.
For example, MeteorJS, you type 'meteor' on the terminal to run it. The .cmd file on Windows is C:\Users\<user>\AppData\Roaming\npm\meteor.cmd,
whilst BlitzJS, you type 'blitz dev' on the terminal to run it. The .cmd is C:\Users\<user>\AppData\Roaming\npm\blitz.cmd.
WebStorm provides a preset to add Run/Debug MeteorJS, but BlitzJS or NextJS. I'd like to know how to customly add the same for Blitz (and probably more framework) in the future.

1 comment
Comment actions Permalink

You can use either Node.js or NPM run configurations to run your app; in the former case, you have to specify a path to node_modules\blitz\bin\blitzev in the JavaScript File: field and add dev to Application parameters:; to use NPM config, just add a script that runs blitz dev  to your package.json and start this script from a gutter (or NPM tool window). See


Please sign in to leave a comment.