Open
Description
Hi, is this the upstream for what I describe below? :-)
main.js
#!/usr/bin/env node
function myfunc(i) {
return i + 1;
}
let i = 1;
i += 1;
console.log(myfunc(i));
Start debugging:
node inspect main.js
Leaves me at:
Break on start in main.js:7
5 }
6
> 7 let i = 1;
8 i += 1;
9 console.log(myfunc(i));
Now I set a breakpoint successfully:
sb('myfunc()')
but when I then run:
breakpoints
it just shows:
debug> breakpoints
No breakpoints yet
But help
says: https://github.com/nodejs/node-inspect/blob/643179ef5e0452a52ceef2c5e7c8ca42ab00280f/lib/internal/inspect_repl.js#L57
Tested on node v14.15.3.
Metadata
Metadata
Assignees
Labels
No labels
Activity