Run the app locally using the --inspect
switch. For example node --inspect index.js
. Note: if you are debugging a complex Next.js app (or similar) you need to use a production build, otherwise you’ll get stuck on "Building dominator tree…" (see this issue for some info). To inspect Oxygen, run yarn build
and NODE_ENV=production node --inspect server.js
Open DevTools for Node. You can do this by visiting chrome://inspect/#devices
and looking for your app under "Remote Target".