Skip to content

Instantly share code, notes, and snippets.

@tasaif
Created July 1, 2015 23:49
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 tasaif/7acdd537d47ef97e5fe1 to your computer and use it in GitHub Desktop.
Save tasaif/7acdd537d47ef97e5fe1 to your computer and use it in GitHub Desktop.
~/repos/learnyounode (master) > nodejs debug program.js
< Debugger listening on port 5858
debug> . ok
break in program.js:1
> 1 var a = "Hello";
2 debugger
3 var b = "World";
debug> c
break in program.js:2
1 var a = "Hello";
> 2 debugger
3 var b = "World";
4
debug> a
repl:1
a
^
ReferenceError: a is not defined
at repl:1:1
at Object.exports.runInContext (vm.js:64:17)
at Interface.controlEval (_debugger.js:975:21)
at bound (domain.js:254:14)
at REPLServer.runBound [as eval] (domain.js:267:12)
at REPLServer.<anonymous> (repl.js:279:12)
at REPLServer.emit (events.js:107:17)
at REPLServer.Interface._onLine (readline.js:214:10)
at REPLServer.Interface._line (readline.js:553:8)
at REPLServer.Interface._ttyWrite (readline.js:830:14)
debug>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment