React development vs production build with Intellij

Happy New Year, everyone!

I am using Intellij with Studio 7.2.10 and building a ReactJS web site. It seems that my deployment is always the production (minified) version of React, which is making it hard to debug.

How do I get the React development build (non-minified) instead?

Having re-read the docs yet again, I found it in the frontend-ui introduction. I had to use “npm run start” to get the development build. I created another run configuration under the npm node that executes run as the command and start as the script:


Is there a better way?

It would be great if the debug icon on Intellij automatically ran that instead of the production build. Is there any way to accomplish that?