1. Run npm start
to start your application (can be done either in terminal or in WebStorm: open your package.json and press Run icon (arrow) in the gutter next to the start
script
2. Create a new JavaScript Debug configuration in WebStorm (menu Run — Edit configurations… — Add — JavaScript Debug). Paste http://localhost:3000/ into the URL field.
3. Select this configuration, press Debug