Created
July 1, 2015 23:49
-
-
Save tasaif/7acdd537d47ef97e5fe1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/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