DEV Community

Discussion on: 5 Steps to debugging Next.js/Node.js from VSCode or Chrome DevTools

Collapse
 
sambhavggore profile image
Sambhav Gore • Edited

I followed it exactly but could not get it to work.
Shows Debugger attached, but when I add breakpoints, it stops at other code places which is not my code and stepping through just goes past where I wanted it to stop.
If I enter debugger; statements they are simply ignored. it never stops on those.

I am on nextjs 9.4.0 with node 13.13.0 and latest VSCode on Ubuntu 18.04

Collapse
 
drewes profile image
Helmut Drewes

Did you manage to solve the issue. Have exactly the same problem.

Collapse
 
sambhavggore profile image
Sambhav Gore

no I did not.