Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created March 20, 2012 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/2136920 to your computer and use it in GitHub Desktop.
Save isaacs/2136920 to your computer and use it in GitHub Desktop.
$ node debug --port=15443 /Users/isaacs/dev/js/node-master/test/fixtures/breakpoints_utf8.js
< debugger listening on port 15443
connecting... ok
debug> list()
1 debugger; <--- this line is not highlighted in green
2 function a(x) {
3 var i = 10;
4 while (--i != 0);
5 debugger;
debug>
$ node debug --port=15443 /Users/isaacs/dev/js/node-master/test/fixtures/breakpoints_utf8.js
< debugger listening on port 15443
connecting... ok
break in test/fixtures/breakpoints_utf8.js:1
1 debugger; <--- this line IS highlighted in green
2 function a(x) {
3 var i = 10;
debug> list()
1 debugger; <--- this line IS highlighted in green
2 function a(x) {
3 var i = 10;
4 while (--i != 0);
5 debugger;
6 return i;
debug>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment