Created
March 29, 2011 00:33
-
-
Save Kami/891608 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
| node debug 1.js | |
| debug> run | |
| debugger listening on port 5858 | |
| connecting...ok | |
| breakpoint #1 in #<Object>.[anonymous](exports=#<Object>, require=function require(path) { | |
| return Module._load(path, self); | |
| }, module=#<Module>, __filename=/home/vagrant/1.js, __dirname=/home/vagrant), /home/vagrant/1.js:1 | |
| (function (exports, require, module, __filename, __dirname) { console.log('bar') | |
| ^ | |
| debug> next | |
| bar | |
| break in #<Object>.[anonymous](exports=#<Object>, require=function require(path) { | |
| return Module._load(path, self); | |
| }, module=#<Module>, __filename=/home/vagrant/1.js, __dirname=/home/vagrant), /home/vagrant/1.js:2 | |
| debugger; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment