React Storefront

Debugging with Google Chrome

Google Chrome web browser has built in support for debugging Node.js applications.

Start your project with debugging enabled

npm run debug

Connect Chrome's debugger UI to your Node.js project

  • To start the debugger in Chrome enter this URL: chrome://inspect/#devices
  • Under "Remote Target" select "Inspect".

When Chrome successfully connects to your project you will see "Debugger attached." in your Moov SDK log.

Once the Chrome debugger is connected to Node.js you can set breakpoints and inspect your code in real-time.