2

I'm new to reactjs, I created a project using the init command, and run the sample using the npm start however I was wondering if there is a way to run it on debug mode and attach it to the chrome debugger. I have tried something like node --inspect-brk=127.0.0.1:9229 .\node_modules\react-scripts\bin\react-scripts.js start however this just debugs the react-script.js file and I guess this is expected, but this is the only way I know to run a reactjs program.

NOTE: I have tried debugging with vscode however I'm interested on knowing what will be the procedure from command line.

Thanks in advance!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.