Debug Any React App in Seconds

It amazes me how little is thought about debugging within the JavaScript world. Everybody prints to the console, regardless that debugging is very easy and actually solely takes seconds to get began.

To show my level, I recorded a brief video the place I created a brand new React app from scratch and debugged it in VSCode in lower than 3 minutes. By the way in which, this works with any JavaScript app, not simply React.

Within the movies I exploit npx create-chrome-debugger (npm package) to create a Chrome Debugger shortcut which begins Chrome with distant debugging mode. If you’re within the particulars behind that, take a look at my different article I wrote awhile in the past.

Add a Comment

Your email address will not be published. Required fields are marked *