'NDB doesn't paused on breakpoint,

this is my first time giving question.

Right now im taking course on udemy, nodejs course, the course give me ndb as the debugger, now im at the last section of the course and got some problem, and thinking debugger might help me.

But for some reason my debugger doesnt seems to work, after running the ndb, when the screen show, i put breakpoint on some code that i know will be used on the process, but my NDB doesnt seems to pick it up.

Ex : Im using postman to do some simple API call, like this make breakpoint on the route which is definitely going to use. like this and send the request.

But nothing happen, on the NDB side, the code works properly, showing the route works

This actually never happen before, while doing the course, the ndb works properly when the course teach me first time, now that im at the last section and kinda need it, it doesnt work.

some notes :

  1. I tried to use vscode debugger the same way, but the some problem still occurs.
  2. If i make a breakpoint, close the ndb without removing the breakpoint, and then open the debugger again, the breakpoint works (like doing some initial setting), but after that it doesnt work anymore.

Thanks in advance.

Or maybe you guys could recommend me another debugger tool to use, im still learning so i dont mind try new things



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source