How to run debug React app in Webstorm

Kobe
Dec 27, 2021

--

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

--

--

Kobe
Kobe

Written by Kobe

I’m working at KMS-Technology company. I love code (▀̿Ĺ̯▀̿ ̿) — Full Stack Software Engineer

No responses yet