You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show more context lines in node inspect than the default 2 #41788
Break on start in main.js:3
1 #!/usr/bin/env node
2
> 3 x = 0;
4 x = 1;
5 x = 2;
debug> n
break in main.js:4
2
3 x = 0;
> 4 x = 1;
5 x = 2;
6 x = 3;
debug>
Hey @cirosantilli! Thanks for the suggestion and sorry for the late reply. I think it's likely that such a PR would be accepted though the code has since moved to the main nodejs/node repository.
Is there a way?
E.g. I currently see only:
on node v14.15.3.
I'll send a PR if this will be accepted.
More details at: https://stackoverflow.com/questions/64942914/how-to-increase-the-number-of-context-lines-shown-in-the-node-js-debugger-when-u