FullStack debugging on your Next.js project. Make the breakpoints appropriately.
2 min readFeb 5
--
To simultaneously make your breakpoint work on the front-end and back-end side, follow these steps.
Check your package.json and launch.json
Your package.json would be like this.
{
"repository": "",
...
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@vercel/examples-ui": "^1.0.4",
"next": "latest",
...
}…